UNPKG

e5core-angular-services

Version:

e5 Anywhere Angular Services

1,623 lines 500 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /* tslint:disable:max-line-length semicolon */ /* * (c) Copyright 2018 e5 Workflow * * Angular services API generated 2/6/2019, 5:37:18 PM. */ import { Injectable } from '@angular/core'; import { HttpClient, HttpParams } from '@angular/common/http'; import { E5ConfigurationService as e5Config } from './e5.configuration.service'; export class ConfigurationInstanceService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /api/Configuration/Instance?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/api/Configuration/Instance`); } // GET /api/Configuration/Instance/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/api/Configuration/Instance/${id}`); } } ConfigurationInstanceService.decorators = [ { type: Injectable } ]; /** @nocollapse */ ConfigurationInstanceService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ ConfigurationInstanceService.prototype.http; /** * @type {?} * @private */ ConfigurationInstanceService.prototype.config; } export class ConfigurationScopeService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // DELETE /api/Configuration/Scope?key={key}&api-version=1.0 /** * @param {?=} options * @return {?} */ delete(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.key) !== 'undefined') { params = params.append('key', options.key); } return this.http.delete(`${this.baseUrl}/api/Configuration/Scope`, { params: params }); } // GET /api/Configuration/Scope?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/api/Configuration/Scope`); } // POST /api/Configuration/Scope?key={key}&api-version=1.0 /** * @param {?} postJson * @param {?=} options * @return {?} */ create(postJson, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.key) !== 'undefined') { params = params.append('key', options.key); } return this.http.post(`${this.baseUrl}/api/Configuration/Scope`, postJson, { params: params }); } // GET /api/Configuration/Scope/{key}?api-version=1.0 /** * @param {?} key * @return {?} */ get(key) { return this.http.get(`${this.baseUrl}/api/Configuration/Scope/${key}`); } } ConfigurationScopeService.decorators = [ { type: Injectable } ]; /** @nocollapse */ ConfigurationScopeService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ ConfigurationScopeService.prototype.http; /** * @type {?} * @private */ ConfigurationScopeService.prototype.config; } export class ConfigurationSectionService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /api/Configuration/Section?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/api/Configuration/Section`); } // POST /api/Configuration/Section/Create?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/api/Configuration/Section/Create`, postJson); } // GET /api/Configuration/Section/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/api/Configuration/Section/${id}`); } } ConfigurationSectionService.decorators = [ { type: Injectable } ]; /** @nocollapse */ ConfigurationSectionService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ ConfigurationSectionService.prototype.http; /** * @type {?} * @private */ ConfigurationSectionService.prototype.config; } export class ConfigurationSettingService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /api/Configuration/Setting?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/api/Configuration/Setting`); } // POST /api/Configuration/Setting?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/api/Configuration/Setting`, postJson); } // GET /api/Configuration/Setting/{application}/{section}/{key}?api-version=1.0 /** * @param {?} application * @param {?} section * @param {?} key * @return {?} */ getFilteredSetting(application, section, key) { return this.http.get(`${this.baseUrl}/api/Configuration/Setting/${application}/${section}/${key}`); } // GET /api/Configuration/Setting/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/api/Configuration/Setting/${id}`); } // PUT /api/Configuration/Setting/{id}?api-version=1.0 /** * @param {?} id * @param {?} putJson * @return {?} */ update(id, putJson) { return this.http.put(`${this.baseUrl}/api/Configuration/Setting/${id}`, putJson); } } ConfigurationSettingService.decorators = [ { type: Injectable } ]; /** @nocollapse */ ConfigurationSettingService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ ConfigurationSettingService.prototype.http; /** * @type {?} * @private */ ConfigurationSettingService.prototype.config; } export class IdentityClaimService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Identity/Claim/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0 /** * @param {?=} options * @return {?} */ getClaimsForCurrentUser(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.type) !== 'undefined') { params = params.append('type', options.type); } if (options && typeof (options.issuer) !== 'undefined') { params = params.append('issuer', options.issuer); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/Claim/GetClaimsForCurrentUser`, { params: params }); } // GET /{scope}/api/Identity/Claim/GetClaimsForUser?sub={sub}&type={type}&issuer={issuer}&api-version=1.0 /** * @param {?=} options * @return {?} */ getClaimsForUser(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.sub) !== 'undefined') { params = params.append('sub', options.sub); } if (options && typeof (options.type) !== 'undefined') { params = params.append('type', options.type); } if (options && typeof (options.issuer) !== 'undefined') { params = params.append('issuer', options.issuer); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/Claim/GetClaimsForUser`, { params: params }); } // GET /{scope}/api/Identity/Claim/GetGroupsForUser?sub={sub}&api-version=1.0 /** * @param {?=} options * @return {?} */ getGroupsForUser(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.sub) !== 'undefined') { params = params.append('sub', options.sub); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/Claim/GetGroupsForUser`, { params: params }); } } IdentityClaimService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IdentityClaimService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IdentityClaimService.prototype.http; /** * @type {?} * @private */ IdentityClaimService.prototype.config; } export class IdentityUserProfileService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Identity/UserProfile/GetProfileForCurrentUser?api-version=1.0 /** * @return {?} */ getProfileForCurrentUser() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/UserProfile/GetProfileForCurrentUser`); } } IdentityUserProfileService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IdentityUserProfileService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IdentityUserProfileService.prototype.http; /** * @type {?} * @private */ IdentityUserProfileService.prototype.config; } export class IdentityUserSessionService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // POST /{scope}/api/Identity/UserSession/ClearCurrentUserClaims?api-version=1.0 /** * @return {?} */ clearCurrentUserClaims() { return this.http.post(`${this.baseUrl}/${this.scope}/api/Identity/UserSession/ClearCurrentUserClaims`, null); } // POST /{scope}/api/Identity/UserSession/ClearCurrentUserSession?api-version=1.0 /** * @return {?} */ clearCurrentUserSession() { return this.http.post(`${this.baseUrl}/${this.scope}/api/Identity/UserSession/ClearCurrentUserSession`, null); } // GET /{scope}/api/Identity/UserSession/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0 /** * @param {?=} options * @return {?} */ getClaimsForCurrentUser(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.type) !== 'undefined') { params = params.append('type', options.type); } if (options && typeof (options.issuer) !== 'undefined') { params = params.append('issuer', options.issuer); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/UserSession/GetClaimsForCurrentUser`, { params: params }); } // GET /{scope}/api/Identity/UserSession/GetScopeForCurrentUser?api-version=1.0 /** * @return {?} */ getScopeForCurrentUser() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Identity/UserSession/GetScopeForCurrentUser`); } } IdentityUserSessionService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IdentityUserSessionService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IdentityUserSessionService.prototype.http; /** * @type {?} * @private */ IdentityUserSessionService.prototype.config; } export class IntegrationSiteService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Integration/Site/GetAllGroups?api-version=1.0 /** * @return {?} */ getAllGroups() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Integration/Site/GetAllGroups`); } // GET /{scope}/api/Integration/Site/GetGroupsForCurrentUser?api-version=1.0 /** * @return {?} */ getGroupsForCurrentUser() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Integration/Site/GetGroupsForCurrentUser`); } // GET /{scope}/api/Integration/Site/GetGroupsForUser?sub={sub}&api-version=1.0 /** * @param {?=} options * @return {?} */ getGroupsForUser(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.sub) !== 'undefined') { params = params.append('sub', options.sub); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Integration/Site/GetGroupsForUser`, { params: params }); } } IntegrationSiteService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IntegrationSiteService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IntegrationSiteService.prototype.http; /** * @type {?} * @private */ IntegrationSiteService.prototype.config; } export class IntegrationYammerMessagesService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // POST /{scope}/api/Integration/Yammer/YammerMessages/PostMessage?message={message}&groups={groups}&topics={topics}&action={action}&api-version=1.0 /** * @param {?=} options * @return {?} */ postMessage(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.message) !== 'undefined') { params = params.append('message', options.message); } if (options && typeof (options.groups) !== 'undefined') { params = params.append('groups', options.groups); } if (options && typeof (options.topics) !== 'undefined') { params = params.append('topics', options.topics); } if (options && typeof (options.action) !== 'undefined') { params = params.append('action', options.action); } return this.http.post(`${this.baseUrl}/${this.scope}/api/Integration/Yammer/YammerMessages/PostMessage`, null, { params: params }); } // POST /{scope}/api/Integration/Yammer/YammerMessages/PostWorkItemMessage/{workId}?message={message}&groups={groups}&topics={topics}&action={action}&api-version=1.0 /** * @param {?} workId * @param {?=} options * @return {?} */ postWorkItemMessage(workId, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.message) !== 'undefined') { params = params.append('message', options.message); } if (options && typeof (options.groups) !== 'undefined') { params = params.append('groups', options.groups); } if (options && typeof (options.topics) !== 'undefined') { params = params.append('topics', options.topics); } if (options && typeof (options.action) !== 'undefined') { params = params.append('action', options.action); } return this.http.post(`${this.baseUrl}/${this.scope}/api/Integration/Yammer/YammerMessages/PostWorkItemMessage/${workId}`, null, { params: params }); } } IntegrationYammerMessagesService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IntegrationYammerMessagesService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IntegrationYammerMessagesService.prototype.http; /** * @type {?} * @private */ IntegrationYammerMessagesService.prototype.config; } export class IntegrationYammerTopicsService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /api/Integration/Yammer/YammerTopics?topic={topic}&api-version=1.0 /** * @param {?=} options * @return {?} */ getAll(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.topic) !== 'undefined') { params = params.append('topic', options.topic); } return this.http.get(`${this.baseUrl}/api/Integration/Yammer/YammerTopics`, { params: params }); } // GET /api/Integration/Yammer/YammerTopics/Exists?topic={topic}&api-version=1.0 /** * @param {?=} options * @return {?} */ exists(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.topic) !== 'undefined') { params = params.append('topic', options.topic); } return this.http.get(`${this.baseUrl}/api/Integration/Yammer/YammerTopics/Exists`, { params: params }); } } IntegrationYammerTopicsService.decorators = [ { type: Injectable } ]; /** @nocollapse */ IntegrationYammerTopicsService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ IntegrationYammerTopicsService.prototype.http; /** * @type {?} * @private */ IntegrationYammerTopicsService.prototype.config; } export class ListSearchService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/List/Search/{id}?prefix={prefix}&parentListItemId={parentListItemId}&api-version=1.0 /** * @param {?} id * @param {?=} options * @return {?} */ search(id, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.prefix) !== 'undefined') { params = params.append('prefix', options.prefix); } if (options && typeof (options.parentListItemId) !== 'undefined') { params = params.append('parentListItemId', options.parentListItemId); } return this.http.get(`${this.baseUrl}/${this.scope}/api/List/Search/${id}`, { params: params }); } } ListSearchService.decorators = [ { type: Injectable } ]; /** @nocollapse */ ListSearchService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ ListSearchService.prototype.http; /** * @type {?} * @private */ ListSearchService.prototype.config; } export class MonitorsSlaCompletionMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaCompletionMonitor/GetCompletionSlaMonitorWorkCounts/{startDate}/{endDate}?category1Id={category1Id}&siteGroup={siteGroup}&category2Id={category2Id}&category3Id={category3Id}&archive={archive}&totalProperty={totalProperty}&api-version=1.0 /** * @param {?} startDate * @param {?} endDate * @param {?=} options * @return {?} */ getCompletionSlaMonitorWorkCounts(startDate, endDate, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.category1Id) !== 'undefined') { params = params.append('category1Id', options.category1Id); } if (options && typeof (options.siteGroup) !== 'undefined') { params = params.append('siteGroup', options.siteGroup); } if (options && typeof (options.category2Id) !== 'undefined') { params = params.append('category2Id', options.category2Id); } if (options && typeof (options.category3Id) !== 'undefined') { params = params.append('category3Id', options.category3Id); } if (options && typeof (options.archive) !== 'undefined') { params = params.append('archive', options.archive); } if (options && typeof (options.totalProperty) !== 'undefined') { params = params.append('totalProperty', options.totalProperty); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaCompletionMonitor/GetCompletionSlaMonitorWorkCounts/${startDate}/${endDate}`, { params: params }); } } MonitorsSlaCompletionMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaCompletionMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaCompletionMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaCompletionMonitorService.prototype.config; } export class MonitorsSlaInflowsMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaInflowsMonitor/GetInflowsSlaMonitorWorkCounts?endDate={endDate}&archive={archive}&siteGroup={siteGroup}&startDate={startDate}&category1Id={category1Id}&category2Id={category2Id}&category3Id={category3Id}&otherWorkStatus={otherWorkStatus}&api-version=1.0 /** * @param {?=} options * @return {?} */ getInflowsSlaMonitorWorkCounts(options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.endDate) !== 'undefined') { params = params.append('endDate', options.endDate); } if (options && typeof (options.archive) !== 'undefined') { params = params.append('archive', options.archive); } if (options && typeof (options.siteGroup) !== 'undefined') { params = params.append('siteGroup', options.siteGroup); } if (options && typeof (options.startDate) !== 'undefined') { params = params.append('startDate', options.startDate); } if (options && typeof (options.category1Id) !== 'undefined') { params = params.append('category1Id', options.category1Id); } if (options && typeof (options.category2Id) !== 'undefined') { params = params.append('category2Id', options.category2Id); } if (options && typeof (options.category3Id) !== 'undefined') { params = params.append('category3Id', options.category3Id); } if (options && typeof (options.otherWorkStatus) !== 'undefined') { params = params.append('otherWorkStatus', options.otherWorkStatus); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaInflowsMonitor/GetInflowsSlaMonitorWorkCounts`, { params: params }); } } MonitorsSlaInflowsMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaInflowsMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaInflowsMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaInflowsMonitorService.prototype.config; } export class MonitorsSlaInventoryMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaInventoryMonitor/GetInventorySlaMonitorWorkCounts/{startDate}/{endDate}?category3Id={category3Id}&category1Id={category1Id}&category2Id={category2Id}&stauses={stauses}&calculatedIntervals={calculatedIntervals}&concatPivotFields={concatPivotFields}&debug={debug}&api-version=1.0 /** * @param {?} startDate * @param {?} endDate * @param {?=} options * @return {?} */ getInventorySlaMonitorWorkCounts(startDate, endDate, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.category3Id) !== 'undefined') { params = params.append('category3Id', options.category3Id); } if (options && typeof (options.category1Id) !== 'undefined') { params = params.append('category1Id', options.category1Id); } if (options && typeof (options.category2Id) !== 'undefined') { params = params.append('category2Id', options.category2Id); } if (options && typeof (options.stauses) !== 'undefined') { params = params.append('stauses', options.stauses); } if (options && typeof (options.calculatedIntervals) !== 'undefined') { params = params.append('calculatedIntervals', options.calculatedIntervals); } if (options && typeof (options.concatPivotFields) !== 'undefined') { params = params.append('concatPivotFields', options.concatPivotFields); } if (options && typeof (options.debug) !== 'undefined') { params = params.append('debug', options.debug); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaInventoryMonitor/GetInventorySlaMonitorWorkCounts/${startDate}/${endDate}`, { params: params }); } } MonitorsSlaInventoryMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaInventoryMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaInventoryMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaInventoryMonitorService.prototype.config; } export class MonitorsSlaMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaMonitor/GetSlaMonitorWorkCounts/{category1Id}/{category2Id}/{category3Id}/{categoryActivityId}?showEmptyCategories={showEmptyCategories}&approachingSLARange={approachingSLARange}&isApproachingSLAInHours={isApproachingSLAInHours}&statuses={statuses}&includeInactive={includeInactive}&isDebug={isDebug}&assignedUser={assignedUser}&siteGroupFilters={siteGroupFilters}&followUser={followUser}&totalProperty={totalProperty}&filterPropertyId={filterPropertyId}&filterPropertyValue={filterPropertyValue}&showSlaMode={showSlaMode}&api-version=1.0 /** * @param {?} category1Id * @param {?} category2Id * @param {?} category3Id * @param {?} categoryActivityId * @param {?=} options * @return {?} */ getSlaMonitorWorkCounts(category1Id, category2Id, category3Id, categoryActivityId, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.showEmptyCategories) !== 'undefined') { params = params.append('showEmptyCategories', options.showEmptyCategories); } if (options && typeof (options.approachingSLARange) !== 'undefined') { params = params.append('approachingSLARange', options.approachingSLARange); } if (options && typeof (options.isApproachingSLAInHours) !== 'undefined') { params = params.append('isApproachingSLAInHours', options.isApproachingSLAInHours); } if (options && typeof (options.statuses) !== 'undefined') { params = params.append('statuses', options.statuses); } if (options && typeof (options.includeInactive) !== 'undefined') { params = params.append('includeInactive', options.includeInactive); } if (options && typeof (options.isDebug) !== 'undefined') { params = params.append('isDebug', options.isDebug); } if (options && typeof (options.assignedUser) !== 'undefined') { params = params.append('assignedUser', options.assignedUser); } if (options && typeof (options.siteGroupFilters) !== 'undefined') { params = params.append('siteGroupFilters', options.siteGroupFilters); } if (options && typeof (options.followUser) !== 'undefined') { params = params.append('followUser', options.followUser); } if (options && typeof (options.totalProperty) !== 'undefined') { params = params.append('totalProperty', options.totalProperty); } if (options && typeof (options.filterPropertyId) !== 'undefined') { params = params.append('filterPropertyId', options.filterPropertyId); } if (options && typeof (options.filterPropertyValue) !== 'undefined') { params = params.append('filterPropertyValue', options.filterPropertyValue); } if (options && typeof (options.showSlaMode) !== 'undefined') { params = params.append('showSlaMode', options.showSlaMode); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaMonitor/GetSlaMonitorWorkCounts/${category1Id}/${category2Id}/${category3Id}/${categoryActivityId}`, { params: params }); } } MonitorsSlaMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaMonitorService.prototype.config; } export class MonitorsSlaTeamProductivityCompletionMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaTeamProductivityCompletionMonitor/GetTeamProductivityCompletionSlaMonitorWorkCounts/{startDate}/{endDate}?category3Id={category3Id}&category1Id={category1Id}&category2Id={category2Id}&stauses={stauses}&calculatedIntervals={calculatedIntervals}&userGroupsId={userGroupsId}&concatPivotFields={concatPivotFields}&debug={debug}&api-version=1.0 /** * @param {?} startDate * @param {?} endDate * @param {?=} options * @return {?} */ getTeamProductivityCompletionSlaMonitorWorkCounts(startDate, endDate, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.category3Id) !== 'undefined') { params = params.append('category3Id', options.category3Id); } if (options && typeof (options.category1Id) !== 'undefined') { params = params.append('category1Id', options.category1Id); } if (options && typeof (options.category2Id) !== 'undefined') { params = params.append('category2Id', options.category2Id); } if (options && typeof (options.stauses) !== 'undefined') { params = params.append('stauses', options.stauses); } if (options && typeof (options.calculatedIntervals) !== 'undefined') { params = params.append('calculatedIntervals', options.calculatedIntervals); } if (options && typeof (options.userGroupsId) !== 'undefined') { params = params.append('userGroupsId', options.userGroupsId); } if (options && typeof (options.concatPivotFields) !== 'undefined') { params = params.append('concatPivotFields', options.concatPivotFields); } if (options && typeof (options.debug) !== 'undefined') { params = params.append('debug', options.debug); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaTeamProductivityCompletionMonitor/GetTeamProductivityCompletionSlaMonitorWorkCounts/${startDate}/${endDate}`, { params: params }); } } MonitorsSlaTeamProductivityCompletionMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaTeamProductivityCompletionMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaTeamProductivityCompletionMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaTeamProductivityCompletionMonitorService.prototype.config; } export class MonitorsSlaTeamProductivityFacetimeMonitorService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Monitors/SlaTeamProductivityFacetimeMonitor/GetTeamProductivityFacetimeSlaMonitorWorkCounts/{startDate}/{endDate}?category3Id={category3Id}&category1Id={category1Id}&category2Id={category2Id}&stauses={stauses}&calculatedIntervals={calculatedIntervals}&userGroupsId={userGroupsId}&concatPivotFields={concatPivotFields}&debug={debug}&api-version=1.0 /** * @param {?} startDate * @param {?} endDate * @param {?=} options * @return {?} */ getTeamProductivityFacetimeSlaMonitorWorkCounts(startDate, endDate, options) { /** @type {?} */ let params = new HttpParams(); if (options && typeof (options.category3Id) !== 'undefined') { params = params.append('category3Id', options.category3Id); } if (options && typeof (options.category1Id) !== 'undefined') { params = params.append('category1Id', options.category1Id); } if (options && typeof (options.category2Id) !== 'undefined') { params = params.append('category2Id', options.category2Id); } if (options && typeof (options.stauses) !== 'undefined') { params = params.append('stauses', options.stauses); } if (options && typeof (options.calculatedIntervals) !== 'undefined') { params = params.append('calculatedIntervals', options.calculatedIntervals); } if (options && typeof (options.userGroupsId) !== 'undefined') { params = params.append('userGroupsId', options.userGroupsId); } if (options && typeof (options.concatPivotFields) !== 'undefined') { params = params.append('concatPivotFields', options.concatPivotFields); } if (options && typeof (options.debug) !== 'undefined') { params = params.append('debug', options.debug); } return this.http.get(`${this.baseUrl}/${this.scope}/api/Monitors/SlaTeamProductivityFacetimeMonitor/GetTeamProductivityFacetimeSlaMonitorWorkCounts/${startDate}/${endDate}`, { params: params }); } } MonitorsSlaTeamProductivityFacetimeMonitorService.decorators = [ { type: Injectable } ]; /** @nocollapse */ MonitorsSlaTeamProductivityFacetimeMonitorService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ MonitorsSlaTeamProductivityFacetimeMonitorService.prototype.http; /** * @type {?} * @private */ MonitorsSlaTeamProductivityFacetimeMonitorService.prototype.config; } export class TaxonomyActivityDefinitionCheckService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Taxonomy/ActivityDefinition/Check?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Check`); } // POST /{scope}/api/Taxonomy/ActivityDefinition/Check?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Check`, postJson); } // GET /{scope}/api/Taxonomy/ActivityDefinition/Check/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Check/${id}`); } // PUT /{scope}/api/Taxonomy/ActivityDefinition/Check/{id}?api-version=1.0 /** * @param {?} id * @param {?} putJson * @return {?} */ update(id, putJson) { return this.http.put(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Check/${id}`, putJson); } } TaxonomyActivityDefinitionCheckService.decorators = [ { type: Injectable } ]; /** @nocollapse */ TaxonomyActivityDefinitionCheckService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ TaxonomyActivityDefinitionCheckService.prototype.http; /** * @type {?} * @private */ TaxonomyActivityDefinitionCheckService.prototype.config; } export class TaxonomyActivityDefinitionContentTypeService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Taxonomy/ActivityDefinition/ContentType?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/ContentType`); } // POST /{scope}/api/Taxonomy/ActivityDefinition/ContentType?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/ContentType`, postJson); } // GET /{scope}/api/Taxonomy/ActivityDefinition/ContentType/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/ContentType/${id}`); } // PUT /{scope}/api/Taxonomy/ActivityDefinition/ContentType/{id}?api-version=1.0 /** * @param {?} id * @param {?} putJson * @return {?} */ update(id, putJson) { return this.http.put(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/ContentType/${id}`, putJson); } } TaxonomyActivityDefinitionContentTypeService.decorators = [ { type: Injectable } ]; /** @nocollapse */ TaxonomyActivityDefinitionContentTypeService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ TaxonomyActivityDefinitionContentTypeService.prototype.http; /** * @type {?} * @private */ TaxonomyActivityDefinitionContentTypeService.prototype.config; } export class TaxonomyActivityDefinitionProcessService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Taxonomy/ActivityDefinition/Process?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Process`); } // POST /{scope}/api/Taxonomy/ActivityDefinition/Process?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Process`, postJson); } // GET /{scope}/api/Taxonomy/ActivityDefinition/Process/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Process/${id}`); } // PUT /{scope}/api/Taxonomy/ActivityDefinition/Process/{id}?api-version=1.0 /** * @param {?} id * @param {?} putJson * @return {?} */ update(id, putJson) { return this.http.put(`${this.baseUrl}/${this.scope}/api/Taxonomy/ActivityDefinition/Process/${id}`, putJson); } } TaxonomyActivityDefinitionProcessService.decorators = [ { type: Injectable } ]; /** @nocollapse */ TaxonomyActivityDefinitionProcessService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ TaxonomyActivityDefinitionProcessService.prototype.http; /** * @type {?} * @private */ TaxonomyActivityDefinitionProcessService.prototype.config; } export class TaxonomyAdapterService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = config; } /** * @private * @return {?} */ get baseUrl() { return this.config.settings.apiServer.baseUrl; } /** * @private * @return {?} */ get scope() { return this.config.settings.apiServer.scope; } // GET /{scope}/api/Taxonomy/Adapter?api-version=1.0 /** * @return {?} */ getAll() { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/Adapter`); } // POST /{scope}/api/Taxonomy/Adapter?api-version=1.0 /** * @param {?} postJson * @return {?} */ create(postJson) { return this.http.post(`${this.baseUrl}/${this.scope}/api/Taxonomy/Adapter`, postJson); } // GET /{scope}/api/Taxonomy/Adapter/{id}?api-version=1.0 /** * @param {?} id * @return {?} */ get(id) { return this.http.get(`${this.baseUrl}/${this.scope}/api/Taxonomy/Adapter/${id}`); } // PUT /{scope}/api/Taxonomy/Adapter/{id}?api-version=1.0 /** * @param {?} id * @param {?} putJson * @return {?} */ update(id, putJson) { return this.http.put(`${this.baseUrl}/${this.scope}/api/Taxonomy/Adapter/${id}`, putJson); } } TaxonomyAdapterService.decorators = [ { type: Injectable } ]; /** @nocollapse */ TaxonomyAdapterService.ctorParameters = () => [ { type: HttpClient }, { type: e5Config } ]; if (false) { /** * @type {?} * @private */ TaxonomyAdapterService.prototype.http; /** * @type {?} * @private */ TaxonomyAdapterService.prototype.config; } export class TaxonomyAttachmentTypeService { /** * @param {?} http * @param {?} config */ constructor(http, config) { this.http = http; this.config = confi