purecloud-platform-client-v2 211.1.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 +432 -87
- package/dist/web-amd/purecloud-platform-client-v2.js +432 -87
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +171 -87
- package/dist/web-cjs/purecloud-platform-client-v2.js +171 -87
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +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
|
@@ -12300,7 +12300,7 @@ return _createClass(HttpRequestOptions,[{key:"setUrl",value:function setUrl(url)
|
|
|
12300
12300
|
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
|
|
12301
12301
|
},{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);/**
|
|
12302
12302
|
* @module purecloud-platform-client-v2/ApiClient
|
|
12303
|
-
* @version
|
|
12303
|
+
* @version 212.0.0
|
|
12304
12304
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
12305
12305
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
12306
12306
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -12637,7 +12637,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
12637
12637
|
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(){/**
|
|
12638
12638
|
* AgentAssistants service.
|
|
12639
12639
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
12640
|
-
* @version
|
|
12640
|
+
* @version 212.0.0
|
|
12641
12641
|
*//**
|
|
12642
12642
|
* Constructs a new AgentAssistantsApi.
|
|
12643
12643
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -12738,7 +12738,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
12738
12738
|
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(){/**
|
|
12739
12739
|
* AgentCopilot service.
|
|
12740
12740
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
12741
|
-
* @version
|
|
12741
|
+
* @version 212.0.0
|
|
12742
12742
|
*//**
|
|
12743
12743
|
* Constructs a new AgentCopilotApi.
|
|
12744
12744
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -12760,7 +12760,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
12760
12760
|
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(){/**
|
|
12761
12761
|
* AgentUI service.
|
|
12762
12762
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
12763
|
-
* @version
|
|
12763
|
+
* @version 212.0.0
|
|
12764
12764
|
*//**
|
|
12765
12765
|
* Constructs a new AgentUIApi.
|
|
12766
12766
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -12794,7 +12794,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
12794
12794
|
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(){/**
|
|
12795
12795
|
* Alerting service.
|
|
12796
12796
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
12797
|
-
* @version
|
|
12797
|
+
* @version 212.0.0
|
|
12798
12798
|
*//**
|
|
12799
12799
|
* Constructs a new AlertingApi.
|
|
12800
12800
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -12951,7 +12951,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
12951
12951
|
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(){/**
|
|
12952
12952
|
* Analytics service.
|
|
12953
12953
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
12954
|
-
* @version
|
|
12954
|
+
* @version 212.0.0
|
|
12955
12955
|
*//**
|
|
12956
12956
|
* Constructs a new AnalyticsApi.
|
|
12957
12957
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -12983,6 +12983,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12983
12983
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12984
12984
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
12985
12985
|
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']);}/**
|
|
12986
|
+
* Get an agent and their active sessions by user ID
|
|
12987
|
+
*
|
|
12988
|
+
* @param {String} userId userId
|
|
12989
|
+
* getAnalyticsAgentStatus is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12990
|
+
*/},{key:"getAnalyticsAgentStatus",value:function getAnalyticsAgentStatus(userId){// verify the required parameter 'userId' is set
|
|
12991
|
+
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']);}/**
|
|
12986
12992
|
* Get status for async query for agent copilot aggregates
|
|
12987
12993
|
*
|
|
12988
12994
|
* @param {String} jobId jobId
|
|
@@ -13228,6 +13234,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13228
13234
|
* getAnalyticsResolutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13229
13235
|
*/},{key:"getAnalyticsResolutionsAggregatesJobResults",value:function getAnalyticsResolutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13230
13236
|
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']);}/**
|
|
13237
|
+
* Get status for async query for summary aggregates
|
|
13238
|
+
*
|
|
13239
|
+
* @param {String} jobId jobId
|
|
13240
|
+
* getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13241
|
+
*/},{key:"getAnalyticsSummariesAggregatesJob",value:function getAnalyticsSummariesAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
13242
|
+
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']);}/**
|
|
13243
|
+
* Fetch a page of results for an async aggregates query
|
|
13244
|
+
*
|
|
13245
|
+
* @param {String} jobId jobId
|
|
13246
|
+
* @param {Object} opts Optional parameters
|
|
13247
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
13248
|
+
* getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13249
|
+
*/},{key:"getAnalyticsSummariesAggregatesJobResults",value:function getAnalyticsSummariesAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13250
|
+
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']);}/**
|
|
13231
13251
|
* Get status for async query for survey aggregates
|
|
13232
13252
|
*
|
|
13233
13253
|
* @param {String} jobId jobId
|
|
@@ -13327,6 +13347,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13327
13347
|
* @param {Object} body query
|
|
13328
13348
|
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
13329
13349
|
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']);}/**
|
|
13350
|
+
* Count agents by segment type
|
|
13351
|
+
*
|
|
13352
|
+
* @param {Object} body query
|
|
13353
|
+
* postAnalyticsAgentsStatusCounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13354
|
+
*/},{key:"postAnalyticsAgentsStatusCounts",value:function postAnalyticsAgentsStatusCounts(body){// verify the required parameter 'body' is set
|
|
13355
|
+
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']);}/**
|
|
13356
|
+
* Retrieve the top 50 agents matching the query filters
|
|
13357
|
+
*
|
|
13358
|
+
* @param {Object} body query
|
|
13359
|
+
* postAnalyticsAgentsStatusQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13360
|
+
*/},{key:"postAnalyticsAgentsStatusQuery",value:function postAnalyticsAgentsStatusQuery(body){// verify the required parameter 'body' is set
|
|
13361
|
+
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']);}/**
|
|
13330
13362
|
* Query for bot aggregates asynchronously
|
|
13331
13363
|
*
|
|
13332
13364
|
* @param {Object} body query
|
|
@@ -13491,6 +13523,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13491
13523
|
* @param {Number} opts.pageNumber The desired page number
|
|
13492
13524
|
*/},{key:"postAnalyticsRoutingActivityQuery",value:function postAnalyticsRoutingActivityQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
13493
13525
|
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']);}/**
|
|
13526
|
+
* Query for summary aggregates asynchronously
|
|
13527
|
+
*
|
|
13528
|
+
* @param {Object} body query
|
|
13529
|
+
* postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13530
|
+
*/},{key:"postAnalyticsSummariesAggregatesJobs",value:function postAnalyticsSummariesAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
13531
|
+
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']);}/**
|
|
13532
|
+
* Query for summary aggregates
|
|
13533
|
+
*
|
|
13534
|
+
* @param {Object} body query
|
|
13535
|
+
* postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13536
|
+
*/},{key:"postAnalyticsSummariesAggregatesQuery",value:function postAnalyticsSummariesAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
13537
|
+
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']);}/**
|
|
13494
13538
|
* Query for survey aggregates asynchronously
|
|
13495
13539
|
*
|
|
13496
13540
|
* @param {Object} body query
|
|
@@ -13573,7 +13617,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13573
13617
|
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(){/**
|
|
13574
13618
|
* Architect service.
|
|
13575
13619
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
13576
|
-
* @version
|
|
13620
|
+
* @version 212.0.0
|
|
13577
13621
|
*//**
|
|
13578
13622
|
* Constructs a new ArchitectApi.
|
|
13579
13623
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -14665,7 +14709,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
14665
14709
|
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(){/**
|
|
14666
14710
|
* Audit service.
|
|
14667
14711
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14668
|
-
* @version
|
|
14712
|
+
* @version 212.0.0
|
|
14669
14713
|
*//**
|
|
14670
14714
|
* Constructs a new AuditApi.
|
|
14671
14715
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -14715,7 +14759,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14715
14759
|
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(){/**
|
|
14716
14760
|
* Authorization service.
|
|
14717
14761
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
14718
|
-
* @version
|
|
14762
|
+
* @version 212.0.0
|
|
14719
14763
|
*//**
|
|
14720
14764
|
* Constructs a new AuthorizationApi.
|
|
14721
14765
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -15038,7 +15082,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
15038
15082
|
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(){/**
|
|
15039
15083
|
* Billing service.
|
|
15040
15084
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
15041
|
-
* @version
|
|
15085
|
+
* @version 212.0.0
|
|
15042
15086
|
*//**
|
|
15043
15087
|
* Constructs a new BillingApi.
|
|
15044
15088
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -15062,7 +15106,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
15062
15106
|
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(){/**
|
|
15063
15107
|
* CarrierServices service.
|
|
15064
15108
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
15065
|
-
* @version
|
|
15109
|
+
* @version 212.0.0
|
|
15066
15110
|
*//**
|
|
15067
15111
|
* Constructs a new CarrierServicesApi.
|
|
15068
15112
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -15082,7 +15126,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
15082
15126
|
*/},{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(){/**
|
|
15083
15127
|
* Chat service.
|
|
15084
15128
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
15085
|
-
* @version
|
|
15129
|
+
* @version 212.0.0
|
|
15086
15130
|
*//**
|
|
15087
15131
|
* Constructs a new ChatApi.
|
|
15088
15132
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -15307,7 +15351,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15307
15351
|
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(){/**
|
|
15308
15352
|
* Coaching service.
|
|
15309
15353
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
15310
|
-
* @version
|
|
15354
|
+
* @version 212.0.0
|
|
15311
15355
|
*//**
|
|
15312
15356
|
* Constructs a new CoachingApi.
|
|
15313
15357
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -15460,7 +15504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15460
15504
|
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(){/**
|
|
15461
15505
|
* ContentManagement service.
|
|
15462
15506
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
15463
|
-
* @version
|
|
15507
|
+
* @version 212.0.0
|
|
15464
15508
|
*//**
|
|
15465
15509
|
* Constructs a new ContentManagementApi.
|
|
15466
15510
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -15742,7 +15786,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
15742
15786
|
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(){/**
|
|
15743
15787
|
* Conversations service.
|
|
15744
15788
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
15745
|
-
* @version
|
|
15789
|
+
* @version 212.0.0
|
|
15746
15790
|
*//**
|
|
15747
15791
|
* Constructs a new ConversationsApi.
|
|
15748
15792
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -17254,8 +17298,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17254
17298
|
* Send an agentless outbound message
|
|
17255
17299
|
* 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.
|
|
17256
17300
|
* @param {Object} body Create agentless outbound messaging request
|
|
17257
|
-
|
|
17258
|
-
|
|
17301
|
+
* @param {Object} opts Optional parameters
|
|
17302
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
|
|
17303
|
+
*/},{key:"postConversationsMessagesAgentless",value:function postConversationsMessagesAgentless(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
17304
|
+
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']);}/**
|
|
17259
17305
|
* Send an inbound Open Message
|
|
17260
17306
|
* [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.
|
|
17261
17307
|
* @param {Object} body NormalizedMessage
|
|
@@ -17470,7 +17516,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
17470
17516
|
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(){/**
|
|
17471
17517
|
* DataExtensions service.
|
|
17472
17518
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
17473
|
-
* @version
|
|
17519
|
+
* @version 212.0.0
|
|
17474
17520
|
*//**
|
|
17475
17521
|
* Constructs a new DataExtensionsApi.
|
|
17476
17522
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -17491,7 +17537,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
17491
17537
|
*/},{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(){/**
|
|
17492
17538
|
* DataPrivacy service.
|
|
17493
17539
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
17494
|
-
* @version
|
|
17540
|
+
* @version 212.0.0
|
|
17495
17541
|
*//**
|
|
17496
17542
|
* Constructs a new DataPrivacyApi.
|
|
17497
17543
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -17531,7 +17577,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17531
17577
|
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(){/**
|
|
17532
17578
|
* Downloads service.
|
|
17533
17579
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
17534
|
-
* @version
|
|
17580
|
+
* @version 212.0.0
|
|
17535
17581
|
*//**
|
|
17536
17582
|
* Constructs a new DownloadsApi.
|
|
17537
17583
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -17550,7 +17596,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17550
17596
|
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(){/**
|
|
17551
17597
|
* Emails service.
|
|
17552
17598
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
17553
|
-
* @version
|
|
17599
|
+
* @version 212.0.0
|
|
17554
17600
|
*//**
|
|
17555
17601
|
* Constructs a new EmailsApi.
|
|
17556
17602
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -17568,7 +17614,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
17568
17614
|
*/},{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(){/**
|
|
17569
17615
|
* EmployeeEngagement service.
|
|
17570
17616
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
17571
|
-
* @version
|
|
17617
|
+
* @version 212.0.0
|
|
17572
17618
|
*//**
|
|
17573
17619
|
* Constructs a new EmployeeEngagementApi.
|
|
17574
17620
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -17606,7 +17652,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17606
17652
|
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(){/**
|
|
17607
17653
|
* Events service.
|
|
17608
17654
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
17609
|
-
* @version
|
|
17655
|
+
* @version 212.0.0
|
|
17610
17656
|
*//**
|
|
17611
17657
|
* Constructs a new EventsApi.
|
|
17612
17658
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -17631,7 +17677,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17631
17677
|
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(){/**
|
|
17632
17678
|
* ExternalContacts service.
|
|
17633
17679
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
17634
|
-
* @version
|
|
17680
|
+
* @version 212.0.0
|
|
17635
17681
|
*//**
|
|
17636
17682
|
* Constructs a new ExternalContactsApi.
|
|
17637
17683
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -18067,10 +18113,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18067
18113
|
*/},{key:"postExternalcontactsExternalsources",value:function postExternalcontactsExternalsources(body){// verify the required parameter 'body' is set
|
|
18068
18114
|
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']);}/**
|
|
18069
18115
|
* Fetch a contact using an identifier type and value.
|
|
18070
|
-
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
18116
|
+
* 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"
|
|
18071
18117
|
* @param {Object} identifier
|
|
18072
18118
|
* @param {Object} opts Optional parameters
|
|
18073
18119
|
* @param {Array.<String>} opts.expand which field, if any, to expand
|
|
18120
|
+
* @deprecated
|
|
18074
18121
|
*/},{key:"postExternalcontactsIdentifierlookup",value:function postExternalcontactsIdentifierlookup(identifier,opts){opts=opts||{};// verify the required parameter 'identifier' is set
|
|
18075
18122
|
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']);}/**
|
|
18076
18123
|
* Create CSV import job
|
|
@@ -18222,7 +18269,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
18222
18269
|
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(){/**
|
|
18223
18270
|
* Fax service.
|
|
18224
18271
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18225
|
-
* @version
|
|
18272
|
+
* @version 212.0.0
|
|
18226
18273
|
*//**
|
|
18227
18274
|
* Constructs a new FaxApi.
|
|
18228
18275
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -18271,7 +18318,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18271
18318
|
*/},{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(){/**
|
|
18272
18319
|
* Flows service.
|
|
18273
18320
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18274
|
-
* @version
|
|
18321
|
+
* @version 212.0.0
|
|
18275
18322
|
*//**
|
|
18276
18323
|
* Constructs a new FlowsApi.
|
|
18277
18324
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -18319,7 +18366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18319
18366
|
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(){/**
|
|
18320
18367
|
* Gamification service.
|
|
18321
18368
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18322
|
-
* @version
|
|
18369
|
+
* @version 212.0.0
|
|
18323
18370
|
*//**
|
|
18324
18371
|
* Constructs a new GamificationApi.
|
|
18325
18372
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -18859,7 +18906,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18859
18906
|
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(){/**
|
|
18860
18907
|
* GeneralDataProtectionRegulation service.
|
|
18861
18908
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18862
|
-
* @version
|
|
18909
|
+
* @version 212.0.0
|
|
18863
18910
|
*//**
|
|
18864
18911
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
18865
18912
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -18894,7 +18941,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
18894
18941
|
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(){/**
|
|
18895
18942
|
* Geolocation service.
|
|
18896
18943
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18897
|
-
* @version
|
|
18944
|
+
* @version 212.0.0
|
|
18898
18945
|
*//**
|
|
18899
18946
|
* Constructs a new GeolocationApi.
|
|
18900
18947
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -18928,7 +18975,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
18928
18975
|
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(){/**
|
|
18929
18976
|
* Greetings service.
|
|
18930
18977
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18931
|
-
* @version
|
|
18978
|
+
* @version 212.0.0
|
|
18932
18979
|
*//**
|
|
18933
18980
|
* Constructs a new GreetingsApi.
|
|
18934
18981
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -19035,7 +19082,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19035
19082
|
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(){/**
|
|
19036
19083
|
* Groups service.
|
|
19037
19084
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19038
|
-
* @version
|
|
19085
|
+
* @version 212.0.0
|
|
19039
19086
|
*//**
|
|
19040
19087
|
* Constructs a new GroupsApi.
|
|
19041
19088
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -19168,7 +19215,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
19168
19215
|
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(){/**
|
|
19169
19216
|
* IdentityProvider service.
|
|
19170
19217
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19171
|
-
* @version
|
|
19218
|
+
* @version 212.0.0
|
|
19172
19219
|
*//**
|
|
19173
19220
|
* Constructs a new IdentityProviderApi.
|
|
19174
19221
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -19324,7 +19371,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19324
19371
|
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(){/**
|
|
19325
19372
|
* InfrastructureAsCode service.
|
|
19326
19373
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
19327
|
-
* @version
|
|
19374
|
+
* @version 212.0.0
|
|
19328
19375
|
*//**
|
|
19329
19376
|
* Constructs a new InfrastructureAsCodeApi.
|
|
19330
19377
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -19378,7 +19425,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
19378
19425
|
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(){/**
|
|
19379
19426
|
* Integrations service.
|
|
19380
19427
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
19381
|
-
* @version
|
|
19428
|
+
* @version 212.0.0
|
|
19382
19429
|
*//**
|
|
19383
19430
|
* Constructs a new IntegrationsApi.
|
|
19384
19431
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -20013,7 +20060,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
20013
20060
|
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(){/**
|
|
20014
20061
|
* Journey service.
|
|
20015
20062
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20016
|
-
* @version
|
|
20063
|
+
* @version 212.0.0
|
|
20017
20064
|
*//**
|
|
20018
20065
|
* Constructs a new JourneyApi.
|
|
20019
20066
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -20490,7 +20537,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
20490
20537
|
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(){/**
|
|
20491
20538
|
* Knowledge service.
|
|
20492
20539
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
20493
|
-
* @version
|
|
20540
|
+
* @version 212.0.0
|
|
20494
20541
|
*//**
|
|
20495
20542
|
* Constructs a new KnowledgeApi.
|
|
20496
20543
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -21560,7 +21607,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
21560
21607
|
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(){/**
|
|
21561
21608
|
* LanguageUnderstanding service.
|
|
21562
21609
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
21563
|
-
* @version
|
|
21610
|
+
* @version 212.0.0
|
|
21564
21611
|
*//**
|
|
21565
21612
|
* Constructs a new LanguageUnderstandingApi.
|
|
21566
21613
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -21728,7 +21775,6 @@ if(minerId===undefined||minerId===null){throw'Missing the required parameter "mi
|
|
|
21728
21775
|
*/},{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']);}/**
|
|
21729
21776
|
* Get Organization Configuration
|
|
21730
21777
|
*
|
|
21731
|
-
* getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21732
21778
|
*/},{key:"getLanguageunderstandingSettings",value:function getLanguageunderstandingSettings(){return this.apiClient.callApi('/api/v2/languageunderstanding/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21733
21779
|
* Update an NLU Domain.
|
|
21734
21780
|
*
|
|
@@ -21820,7 +21866,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
21820
21866
|
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(){/**
|
|
21821
21867
|
* Languages service.
|
|
21822
21868
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
21823
|
-
* @version
|
|
21869
|
+
* @version 212.0.0
|
|
21824
21870
|
*//**
|
|
21825
21871
|
* Constructs a new LanguagesApi.
|
|
21826
21872
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -21875,7 +21921,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21875
21921
|
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(){/**
|
|
21876
21922
|
* Learning service.
|
|
21877
21923
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
21878
|
-
* @version
|
|
21924
|
+
* @version 212.0.0
|
|
21879
21925
|
*//**
|
|
21880
21926
|
* Constructs a new LearningApi.
|
|
21881
21927
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -22146,7 +22192,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
22146
22192
|
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(){/**
|
|
22147
22193
|
* License service.
|
|
22148
22194
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
22149
|
-
* @version
|
|
22195
|
+
* @version 212.0.0
|
|
22150
22196
|
*//**
|
|
22151
22197
|
* Constructs a new LicenseApi.
|
|
22152
22198
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -22200,7 +22246,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
22200
22246
|
*/},{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(){/**
|
|
22201
22247
|
* Locations service.
|
|
22202
22248
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
22203
|
-
* @version
|
|
22249
|
+
* @version 212.0.0
|
|
22204
22250
|
*//**
|
|
22205
22251
|
* Constructs a new LocationsApi.
|
|
22206
22252
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -22259,7 +22305,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22259
22305
|
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(){/**
|
|
22260
22306
|
* LogCapture service.
|
|
22261
22307
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
22262
|
-
* @version
|
|
22308
|
+
* @version 212.0.0
|
|
22263
22309
|
*//**
|
|
22264
22310
|
* Constructs a new LogCaptureApi.
|
|
22265
22311
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -22309,7 +22355,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22309
22355
|
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(){/**
|
|
22310
22356
|
* Messaging service.
|
|
22311
22357
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
22312
|
-
* @version
|
|
22358
|
+
* @version 212.0.0
|
|
22313
22359
|
*//**
|
|
22314
22360
|
* Constructs a new MessagingApi.
|
|
22315
22361
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -22399,7 +22445,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22399
22445
|
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(){/**
|
|
22400
22446
|
* MobileDevices service.
|
|
22401
22447
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
22402
|
-
* @version
|
|
22448
|
+
* @version 212.0.0
|
|
22403
22449
|
*//**
|
|
22404
22450
|
* Constructs a new MobileDevicesApi.
|
|
22405
22451
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -22438,7 +22484,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22438
22484
|
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(){/**
|
|
22439
22485
|
* Notifications service.
|
|
22440
22486
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
22441
|
-
* @version
|
|
22487
|
+
* @version 212.0.0
|
|
22442
22488
|
*//**
|
|
22443
22489
|
* Constructs a new NotificationsApi.
|
|
22444
22490
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -22495,7 +22541,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
22495
22541
|
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(){/**
|
|
22496
22542
|
* OAuth service.
|
|
22497
22543
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
22498
|
-
* @version
|
|
22544
|
+
* @version 212.0.0
|
|
22499
22545
|
*//**
|
|
22500
22546
|
* Constructs a new OAuthApi.
|
|
22501
22547
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -22580,7 +22626,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
22580
22626
|
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(){/**
|
|
22581
22627
|
* Objects service.
|
|
22582
22628
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
22583
|
-
* @version
|
|
22629
|
+
* @version 212.0.0
|
|
22584
22630
|
*//**
|
|
22585
22631
|
* Constructs a new ObjectsApi.
|
|
22586
22632
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -22651,7 +22697,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
22651
22697
|
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(){/**
|
|
22652
22698
|
* OperationalEvents service.
|
|
22653
22699
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
22654
|
-
* @version
|
|
22700
|
+
* @version 212.0.0
|
|
22655
22701
|
*//**
|
|
22656
22702
|
* Constructs a new OperationalEventsApi.
|
|
22657
22703
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -22682,7 +22728,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
22682
22728
|
*/},{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(){/**
|
|
22683
22729
|
* Organization service.
|
|
22684
22730
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
22685
|
-
* @version
|
|
22731
|
+
* @version 212.0.0
|
|
22686
22732
|
*//**
|
|
22687
22733
|
* Constructs a new OrganizationApi.
|
|
22688
22734
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -22807,7 +22853,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22807
22853
|
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(){/**
|
|
22808
22854
|
* OrganizationAuthorization service.
|
|
22809
22855
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
22810
|
-
* @version
|
|
22856
|
+
* @version 212.0.0
|
|
22811
22857
|
*//**
|
|
22812
22858
|
* Constructs a new OrganizationAuthorizationApi.
|
|
22813
22859
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -23141,7 +23187,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
23141
23187
|
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(){/**
|
|
23142
23188
|
* Outbound service.
|
|
23143
23189
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
23144
|
-
* @version
|
|
23190
|
+
* @version 212.0.0
|
|
23145
23191
|
*//**
|
|
23146
23192
|
* Constructs a new OutboundApi.
|
|
23147
23193
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -24248,7 +24294,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24248
24294
|
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(){/**
|
|
24249
24295
|
* Presence service.
|
|
24250
24296
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
24251
|
-
* @version
|
|
24297
|
+
* @version 212.0.0
|
|
24252
24298
|
*//**
|
|
24253
24299
|
* Constructs a new PresenceApi.
|
|
24254
24300
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -24421,7 +24467,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24421
24467
|
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(){/**
|
|
24422
24468
|
* ProcessAutomation service.
|
|
24423
24469
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
24424
|
-
* @version
|
|
24470
|
+
* @version 212.0.0
|
|
24425
24471
|
*//**
|
|
24426
24472
|
* Constructs a new ProcessAutomationApi.
|
|
24427
24473
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -24484,7 +24530,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
24484
24530
|
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(){/**
|
|
24485
24531
|
* Quality service.
|
|
24486
24532
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
24487
|
-
* @version
|
|
24533
|
+
* @version 212.0.0
|
|
24488
24534
|
*//**
|
|
24489
24535
|
* Constructs a new QualityApi.
|
|
24490
24536
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -24963,7 +25009,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
24963
25009
|
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(){/**
|
|
24964
25010
|
* Recording service.
|
|
24965
25011
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
24966
|
-
* @version
|
|
25012
|
+
* @version 212.0.0
|
|
24967
25013
|
*//**
|
|
24968
25014
|
* Constructs a new RecordingApi.
|
|
24969
25015
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -25375,7 +25421,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25375
25421
|
*/},{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(){/**
|
|
25376
25422
|
* ResponseManagement service.
|
|
25377
25423
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
25378
|
-
* @version
|
|
25424
|
+
* @version 212.0.0
|
|
25379
25425
|
*//**
|
|
25380
25426
|
* Constructs a new ResponseManagementApi.
|
|
25381
25427
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -25496,7 +25542,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
25496
25542
|
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(){/**
|
|
25497
25543
|
* Routing service.
|
|
25498
25544
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
25499
|
-
* @version
|
|
25545
|
+
* @version 212.0.0
|
|
25500
25546
|
*//**
|
|
25501
25547
|
* Constructs a new RoutingApi.
|
|
25502
25548
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -26157,7 +26203,7 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
|
|
|
26157
26203
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling patchRoutingQueueMember';}// verify the required parameter 'memberId' is set
|
|
26158
26204
|
if(memberId===undefined||memberId===null){throw'Missing the required parameter "memberId" when calling patchRoutingQueueMember';}// verify the required parameter 'body' is set
|
|
26159
26205
|
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']);}/**
|
|
26160
|
-
* Join or unjoin a set of users for a queue
|
|
26206
|
+
* Join or unjoin a set of up to 100 users for a queue
|
|
26161
26207
|
*
|
|
26162
26208
|
* @param {String} queueId Queue ID
|
|
26163
26209
|
* @param {Array.<Object>} body Queue Members
|
|
@@ -26502,7 +26548,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
26502
26548
|
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(){/**
|
|
26503
26549
|
* SCIM service.
|
|
26504
26550
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
26505
|
-
* @version
|
|
26551
|
+
* @version 212.0.0
|
|
26506
26552
|
*//**
|
|
26507
26553
|
* Constructs a new SCIMApi.
|
|
26508
26554
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -26727,7 +26773,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
26727
26773
|
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(){/**
|
|
26728
26774
|
* ScreenRecording service.
|
|
26729
26775
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
26730
|
-
* @version
|
|
26776
|
+
* @version 212.0.0
|
|
26731
26777
|
*//**
|
|
26732
26778
|
* Constructs a new ScreenRecordingApi.
|
|
26733
26779
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -26742,7 +26788,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26742
26788
|
*/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(){/**
|
|
26743
26789
|
* Scripts service.
|
|
26744
26790
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
26745
|
-
* @version
|
|
26791
|
+
* @version 212.0.0
|
|
26746
26792
|
*//**
|
|
26747
26793
|
* Constructs a new ScriptsApi.
|
|
26748
26794
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -26878,7 +26924,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
26878
26924
|
*/},{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(){/**
|
|
26879
26925
|
* Search service.
|
|
26880
26926
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
26881
|
-
* @version
|
|
26927
|
+
* @version 212.0.0
|
|
26882
26928
|
*//**
|
|
26883
26929
|
* Constructs a new SearchApi.
|
|
26884
26930
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -27050,7 +27096,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27050
27096
|
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(){/**
|
|
27051
27097
|
* Settings service.
|
|
27052
27098
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
27053
|
-
* @version
|
|
27099
|
+
* @version 212.0.0
|
|
27054
27100
|
*//**
|
|
27055
27101
|
* Constructs a new SettingsApi.
|
|
27056
27102
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -27100,7 +27146,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
27100
27146
|
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(){/**
|
|
27101
27147
|
* SocialMedia service.
|
|
27102
27148
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
27103
|
-
* @version
|
|
27149
|
+
* @version 212.0.0
|
|
27104
27150
|
*//**
|
|
27105
27151
|
* Constructs a new SocialMediaApi.
|
|
27106
27152
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -27365,7 +27411,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
27365
27411
|
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(){/**
|
|
27366
27412
|
* SpeechTextAnalytics service.
|
|
27367
27413
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
27368
|
-
* @version
|
|
27414
|
+
* @version 212.0.0
|
|
27369
27415
|
*//**
|
|
27370
27416
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
27371
27417
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -27664,7 +27710,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
27664
27710
|
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(){/**
|
|
27665
27711
|
* Stations service.
|
|
27666
27712
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
27667
|
-
* @version
|
|
27713
|
+
* @version 212.0.0
|
|
27668
27714
|
*//**
|
|
27669
27715
|
* Constructs a new StationsApi.
|
|
27670
27716
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -27696,7 +27742,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
27696
27742
|
*/},{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(){/**
|
|
27697
27743
|
* Suggest service.
|
|
27698
27744
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
27699
|
-
* @version
|
|
27745
|
+
* @version 212.0.0
|
|
27700
27746
|
*//**
|
|
27701
27747
|
* Constructs a new SuggestApi.
|
|
27702
27748
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -27736,7 +27782,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27736
27782
|
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(){/**
|
|
27737
27783
|
* TaskManagement service.
|
|
27738
27784
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
27739
|
-
* @version
|
|
27785
|
+
* @version 212.0.0
|
|
27740
27786
|
*//**
|
|
27741
27787
|
* Constructs a new TaskManagementApi.
|
|
27742
27788
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -27764,6 +27810,13 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
27764
27810
|
* @param {String} worktypeId Worktype id
|
|
27765
27811
|
*/},{key:"deleteTaskmanagementWorktype",value:function deleteTaskmanagementWorktype(worktypeId){// verify the required parameter 'worktypeId' is set
|
|
27766
27812
|
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']);}/**
|
|
27813
|
+
* Delete a date based rule
|
|
27814
|
+
*
|
|
27815
|
+
* @param {String} worktypeId Worktype id
|
|
27816
|
+
* @param {String} ruleId ruleId
|
|
27817
|
+
*/},{key:"deleteTaskmanagementWorktypeFlowsDatebasedRule",value:function deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
27818
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
27819
|
+
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']);}/**
|
|
27767
27820
|
* Delete a rule
|
|
27768
27821
|
*
|
|
27769
27822
|
* @param {String} worktypeId Worktype id
|
|
@@ -27912,6 +27965,21 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
27912
27965
|
* @param {Array.<String>} opts.expands Which fields, if any, to expand.
|
|
27913
27966
|
*/},{key:"getTaskmanagementWorktype",value:function getTaskmanagementWorktype(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
27914
27967
|
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']);}/**
|
|
27968
|
+
* Get a date based rule
|
|
27969
|
+
*
|
|
27970
|
+
* @param {String} worktypeId Worktype id
|
|
27971
|
+
* @param {String} ruleId ruleId
|
|
27972
|
+
*/},{key:"getTaskmanagementWorktypeFlowsDatebasedRule",value:function getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId){// verify the required parameter 'worktypeId' is set
|
|
27973
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
27974
|
+
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']);}/**
|
|
27975
|
+
* Get all date based rules for a worktype
|
|
27976
|
+
*
|
|
27977
|
+
* @param {String} worktypeId Worktype id
|
|
27978
|
+
* @param {Object} opts Optional parameters
|
|
27979
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
27980
|
+
* @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)
|
|
27981
|
+
*/},{key:"getTaskmanagementWorktypeFlowsDatebasedRules",value:function getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
27982
|
+
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']);}/**
|
|
27915
27983
|
* Get an attribute change rule
|
|
27916
27984
|
*
|
|
27917
27985
|
* @param {String} worktypeId Worktype id
|
|
@@ -28027,6 +28095,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28027
28095
|
*/},{key:"patchTaskmanagementWorktype",value:function patchTaskmanagementWorktype(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
28028
28096
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';}// verify the required parameter 'body' is set
|
|
28029
28097
|
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']);}/**
|
|
28098
|
+
* Update the attributes of a date based rule
|
|
28099
|
+
*
|
|
28100
|
+
* @param {String} worktypeId Worktype id
|
|
28101
|
+
* @param {String} ruleId ruleId
|
|
28102
|
+
* @param {Object} body Rule
|
|
28103
|
+
*/},{key:"patchTaskmanagementWorktypeFlowsDatebasedRule",value:function patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId,ruleId,body){// verify the required parameter 'worktypeId' is set
|
|
28104
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'ruleId' is set
|
|
28105
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';}// verify the required parameter 'body' is set
|
|
28106
|
+
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']);}/**
|
|
28030
28107
|
* Update the attributes of a rule
|
|
28031
28108
|
*
|
|
28032
28109
|
* @param {String} worktypeId Worktype id
|
|
@@ -28102,6 +28179,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28102
28179
|
* @param {Object} body Schema
|
|
28103
28180
|
*/},{key:"postTaskmanagementWorkitemsSchemas",value:function postTaskmanagementWorkitemsSchemas(body){// verify the required parameter 'body' is set
|
|
28104
28181
|
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']);}/**
|
|
28182
|
+
* Add a date based rule to a worktype
|
|
28183
|
+
*
|
|
28184
|
+
* @param {String} worktypeId Worktype id
|
|
28185
|
+
* @param {Object} body Rule
|
|
28186
|
+
*/},{key:"postTaskmanagementWorktypeFlowsDatebasedRules",value:function postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
28187
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';}// verify the required parameter 'body' is set
|
|
28188
|
+
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']);}/**
|
|
28105
28189
|
* Add an attribute-change rule to a worktype
|
|
28106
28190
|
*
|
|
28107
28191
|
* @param {String} worktypeId Worktype id
|
|
@@ -28142,7 +28226,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
28142
28226
|
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(){/**
|
|
28143
28227
|
* Teams service.
|
|
28144
28228
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
28145
|
-
* @version
|
|
28229
|
+
* @version 212.0.0
|
|
28146
28230
|
*//**
|
|
28147
28231
|
* Constructs a new TeamsApi.
|
|
28148
28232
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -28222,7 +28306,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28222
28306
|
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(){/**
|
|
28223
28307
|
* Telephony service.
|
|
28224
28308
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
28225
|
-
* @version
|
|
28309
|
+
* @version 212.0.0
|
|
28226
28310
|
*//**
|
|
28227
28311
|
* Constructs a new TelephonyApi.
|
|
28228
28312
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -28269,7 +28353,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
28269
28353
|
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(){/**
|
|
28270
28354
|
* TelephonyProvidersEdge service.
|
|
28271
28355
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
28272
|
-
* @version
|
|
28356
|
+
* @version 212.0.0
|
|
28273
28357
|
*//**
|
|
28274
28358
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
28275
28359
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -29104,7 +29188,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
29104
29188
|
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(){/**
|
|
29105
29189
|
* Textbots service.
|
|
29106
29190
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
29107
|
-
* @version
|
|
29191
|
+
* @version 212.0.0
|
|
29108
29192
|
*//**
|
|
29109
29193
|
* Constructs a new TextbotsApi.
|
|
29110
29194
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -29139,7 +29223,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
29139
29223
|
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(){/**
|
|
29140
29224
|
* Tokens service.
|
|
29141
29225
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
29142
|
-
* @version
|
|
29226
|
+
* @version 212.0.0
|
|
29143
29227
|
*//**
|
|
29144
29228
|
* Constructs a new TokensApi.
|
|
29145
29229
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -29173,7 +29257,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
29173
29257
|
*/},{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(){/**
|
|
29174
29258
|
* Uploads service.
|
|
29175
29259
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
29176
|
-
* @version
|
|
29260
|
+
* @version 212.0.0
|
|
29177
29261
|
*//**
|
|
29178
29262
|
* Constructs a new UploadsApi.
|
|
29179
29263
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -29239,7 +29323,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29239
29323
|
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(){/**
|
|
29240
29324
|
* Usage service.
|
|
29241
29325
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
29242
|
-
* @version
|
|
29326
|
+
* @version 212.0.0
|
|
29243
29327
|
*//**
|
|
29244
29328
|
* Constructs a new UsageApi.
|
|
29245
29329
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -29293,7 +29377,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29293
29377
|
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(){/**
|
|
29294
29378
|
* UserRecordings service.
|
|
29295
29379
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
29296
|
-
* @version
|
|
29380
|
+
* @version 212.0.0
|
|
29297
29381
|
*//**
|
|
29298
29382
|
* Constructs a new UserRecordingsApi.
|
|
29299
29383
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -29350,7 +29434,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
29350
29434
|
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(){/**
|
|
29351
29435
|
* Users service.
|
|
29352
29436
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
29353
|
-
* @version
|
|
29437
|
+
* @version 212.0.0
|
|
29354
29438
|
*//**
|
|
29355
29439
|
* Constructs a new UsersApi.
|
|
29356
29440
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -30047,7 +30131,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
30047
30131
|
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(){/**
|
|
30048
30132
|
* Utilities service.
|
|
30049
30133
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
30050
|
-
* @version
|
|
30134
|
+
* @version 212.0.0
|
|
30051
30135
|
*//**
|
|
30052
30136
|
* Constructs a new UtilitiesApi.
|
|
30053
30137
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -30074,7 +30158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30074
30158
|
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(){/**
|
|
30075
30159
|
* Voicemail service.
|
|
30076
30160
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
30077
|
-
* @version
|
|
30161
|
+
* @version 212.0.0
|
|
30078
30162
|
*//**
|
|
30079
30163
|
* Constructs a new VoicemailApi.
|
|
30080
30164
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -30236,7 +30320,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
30236
30320
|
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(){/**
|
|
30237
30321
|
* WebChat service.
|
|
30238
30322
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
30239
|
-
* @version
|
|
30323
|
+
* @version 212.0.0
|
|
30240
30324
|
*//**
|
|
30241
30325
|
* Constructs a new WebChatApi.
|
|
30242
30326
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -30371,7 +30455,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30371
30455
|
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(){/**
|
|
30372
30456
|
* WebDeployments service.
|
|
30373
30457
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
30374
|
-
* @version
|
|
30458
|
+
* @version 212.0.0
|
|
30375
30459
|
*//**
|
|
30376
30460
|
* Constructs a new WebDeploymentsApi.
|
|
30377
30461
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -30492,7 +30576,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
30492
30576
|
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(){/**
|
|
30493
30577
|
* WebMessaging service.
|
|
30494
30578
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
30495
|
-
* @version
|
|
30579
|
+
* @version 212.0.0
|
|
30496
30580
|
*//**
|
|
30497
30581
|
* Constructs a new WebMessagingApi.
|
|
30498
30582
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -30508,7 +30592,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
30508
30592
|
*/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(){/**
|
|
30509
30593
|
* Widgets service.
|
|
30510
30594
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
30511
|
-
* @version
|
|
30595
|
+
* @version 212.0.0
|
|
30512
30596
|
*//**
|
|
30513
30597
|
* Constructs a new WidgetsApi.
|
|
30514
30598
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -30543,7 +30627,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
30543
30627
|
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(){/**
|
|
30544
30628
|
* WorkforceManagement service.
|
|
30545
30629
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
30546
|
-
* @version
|
|
30630
|
+
* @version 212.0.0
|
|
30547
30631
|
*//**
|
|
30548
30632
|
* Constructs a new WorkforceManagementApi.
|
|
30549
30633
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -32320,7 +32404,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
32320
32404
|
* </pre>
|
|
32321
32405
|
* </p>
|
|
32322
32406
|
* @module purecloud-platform-client-v2/index
|
|
32323
|
-
* @version
|
|
32407
|
+
* @version 212.0.0
|
|
32324
32408
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
32325
32409
|
* The ApiClient constructor.
|
|
32326
32410
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|