e5core-angular-services
Version:
e5 Anywhere Angular Services
1,398 lines • 632 kB
JavaScript
/**
* @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';
var ConfigurationInstanceService = /** @class */ (function () {
function ConfigurationInstanceService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(ConfigurationInstanceService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ConfigurationInstanceService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /api/Configuration/Instance?api-version=1.0
// GET /api/Configuration/Instance?api-version=1.0
/**
* @return {?}
*/
ConfigurationInstanceService.prototype.getAll =
// GET /api/Configuration/Instance?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/api/Configuration/Instance");
};
// GET /api/Configuration/Instance/{id}?api-version=1.0
// GET /api/Configuration/Instance/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
ConfigurationInstanceService.prototype.get =
// GET /api/Configuration/Instance/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
function (id) {
return this.http.get(this.baseUrl + "/api/Configuration/Instance/" + id);
};
ConfigurationInstanceService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
ConfigurationInstanceService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return ConfigurationInstanceService;
}());
export { ConfigurationInstanceService };
if (false) {
/**
* @type {?}
* @private
*/
ConfigurationInstanceService.prototype.http;
/**
* @type {?}
* @private
*/
ConfigurationInstanceService.prototype.config;
}
var ConfigurationScopeService = /** @class */ (function () {
function ConfigurationScopeService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(ConfigurationScopeService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ConfigurationScopeService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// DELETE /api/Configuration/Scope?key={key}&api-version=1.0
// DELETE /api/Configuration/Scope?key={key}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
ConfigurationScopeService.prototype.delete =
// DELETE /api/Configuration/Scope?key={key}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// GET /api/Configuration/Scope?api-version=1.0
/**
* @return {?}
*/
ConfigurationScopeService.prototype.getAll =
// GET /api/Configuration/Scope?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/api/Configuration/Scope");
};
// POST /api/Configuration/Scope?key={key}&api-version=1.0
// POST /api/Configuration/Scope?key={key}&api-version=1.0
/**
* @param {?} postJson
* @param {?=} options
* @return {?}
*/
ConfigurationScopeService.prototype.create =
// POST /api/Configuration/Scope?key={key}&api-version=1.0
/**
* @param {?} postJson
* @param {?=} options
* @return {?}
*/
function (postJson, options) {
/** @type {?} */
var 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
// GET /api/Configuration/Scope/{key}?api-version=1.0
/**
* @param {?} key
* @return {?}
*/
ConfigurationScopeService.prototype.get =
// GET /api/Configuration/Scope/{key}?api-version=1.0
/**
* @param {?} key
* @return {?}
*/
function (key) {
return this.http.get(this.baseUrl + "/api/Configuration/Scope/" + key);
};
ConfigurationScopeService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
ConfigurationScopeService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return ConfigurationScopeService;
}());
export { ConfigurationScopeService };
if (false) {
/**
* @type {?}
* @private
*/
ConfigurationScopeService.prototype.http;
/**
* @type {?}
* @private
*/
ConfigurationScopeService.prototype.config;
}
var ConfigurationSectionService = /** @class */ (function () {
function ConfigurationSectionService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(ConfigurationSectionService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ConfigurationSectionService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /api/Configuration/Section?api-version=1.0
// GET /api/Configuration/Section?api-version=1.0
/**
* @return {?}
*/
ConfigurationSectionService.prototype.getAll =
// GET /api/Configuration/Section?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/api/Configuration/Section");
};
// POST /api/Configuration/Section/Create?api-version=1.0
// POST /api/Configuration/Section/Create?api-version=1.0
/**
* @param {?} postJson
* @return {?}
*/
ConfigurationSectionService.prototype.create =
// POST /api/Configuration/Section/Create?api-version=1.0
/**
* @param {?} postJson
* @return {?}
*/
function (postJson) {
return this.http.post(this.baseUrl + "/api/Configuration/Section/Create", postJson);
};
// GET /api/Configuration/Section/{id}?api-version=1.0
// GET /api/Configuration/Section/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
ConfigurationSectionService.prototype.get =
// GET /api/Configuration/Section/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
function (id) {
return this.http.get(this.baseUrl + "/api/Configuration/Section/" + id);
};
ConfigurationSectionService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
ConfigurationSectionService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return ConfigurationSectionService;
}());
export { ConfigurationSectionService };
if (false) {
/**
* @type {?}
* @private
*/
ConfigurationSectionService.prototype.http;
/**
* @type {?}
* @private
*/
ConfigurationSectionService.prototype.config;
}
var ConfigurationSettingService = /** @class */ (function () {
function ConfigurationSettingService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(ConfigurationSettingService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ConfigurationSettingService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /api/Configuration/Setting?api-version=1.0
// GET /api/Configuration/Setting?api-version=1.0
/**
* @return {?}
*/
ConfigurationSettingService.prototype.getAll =
// GET /api/Configuration/Setting?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/api/Configuration/Setting");
};
// POST /api/Configuration/Setting?api-version=1.0
// POST /api/Configuration/Setting?api-version=1.0
/**
* @param {?} postJson
* @return {?}
*/
ConfigurationSettingService.prototype.create =
// POST /api/Configuration/Setting?api-version=1.0
/**
* @param {?} postJson
* @return {?}
*/
function (postJson) {
return this.http.post(this.baseUrl + "/api/Configuration/Setting", postJson);
};
// GET /api/Configuration/Setting/{application}/{section}/{key}?api-version=1.0
// GET /api/Configuration/Setting/{application}/{section}/{key}?api-version=1.0
/**
* @param {?} application
* @param {?} section
* @param {?} key
* @return {?}
*/
ConfigurationSettingService.prototype.getFilteredSetting =
// GET /api/Configuration/Setting/{application}/{section}/{key}?api-version=1.0
/**
* @param {?} application
* @param {?} section
* @param {?} key
* @return {?}
*/
function (application, section, key) {
return this.http.get(this.baseUrl + "/api/Configuration/Setting/" + application + "/" + section + "/" + key);
};
// GET /api/Configuration/Setting/{id}?api-version=1.0
// GET /api/Configuration/Setting/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
ConfigurationSettingService.prototype.get =
// GET /api/Configuration/Setting/{id}?api-version=1.0
/**
* @param {?} id
* @return {?}
*/
function (id) {
return this.http.get(this.baseUrl + "/api/Configuration/Setting/" + id);
};
// PUT /api/Configuration/Setting/{id}?api-version=1.0
// PUT /api/Configuration/Setting/{id}?api-version=1.0
/**
* @param {?} id
* @param {?} putJson
* @return {?}
*/
ConfigurationSettingService.prototype.update =
// PUT /api/Configuration/Setting/{id}?api-version=1.0
/**
* @param {?} id
* @param {?} putJson
* @return {?}
*/
function (id, putJson) {
return this.http.put(this.baseUrl + "/api/Configuration/Setting/" + id, putJson);
};
ConfigurationSettingService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
ConfigurationSettingService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return ConfigurationSettingService;
}());
export { ConfigurationSettingService };
if (false) {
/**
* @type {?}
* @private
*/
ConfigurationSettingService.prototype.http;
/**
* @type {?}
* @private
*/
ConfigurationSettingService.prototype.config;
}
var IdentityClaimService = /** @class */ (function () {
function IdentityClaimService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IdentityClaimService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IdentityClaimService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /{scope}/api/Identity/Claim/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0
// GET /{scope}/api/Identity/Claim/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IdentityClaimService.prototype.getClaimsForCurrentUser =
// GET /{scope}/api/Identity/Claim/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// GET /{scope}/api/Identity/Claim/GetClaimsForUser?sub={sub}&type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IdentityClaimService.prototype.getClaimsForUser =
// GET /{scope}/api/Identity/Claim/GetClaimsForUser?sub={sub}&type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// GET /{scope}/api/Identity/Claim/GetGroupsForUser?sub={sub}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IdentityClaimService.prototype.getGroupsForUser =
// GET /{scope}/api/Identity/Claim/GetGroupsForUser?sub={sub}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IdentityClaimService;
}());
export { IdentityClaimService };
if (false) {
/**
* @type {?}
* @private
*/
IdentityClaimService.prototype.http;
/**
* @type {?}
* @private
*/
IdentityClaimService.prototype.config;
}
var IdentityUserProfileService = /** @class */ (function () {
function IdentityUserProfileService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IdentityUserProfileService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IdentityUserProfileService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /{scope}/api/Identity/UserProfile/GetProfileForCurrentUser?api-version=1.0
// GET /{scope}/api/Identity/UserProfile/GetProfileForCurrentUser?api-version=1.0
/**
* @return {?}
*/
IdentityUserProfileService.prototype.getProfileForCurrentUser =
// GET /{scope}/api/Identity/UserProfile/GetProfileForCurrentUser?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/" + this.scope + "/api/Identity/UserProfile/GetProfileForCurrentUser");
};
IdentityUserProfileService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IdentityUserProfileService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IdentityUserProfileService;
}());
export { IdentityUserProfileService };
if (false) {
/**
* @type {?}
* @private
*/
IdentityUserProfileService.prototype.http;
/**
* @type {?}
* @private
*/
IdentityUserProfileService.prototype.config;
}
var IdentityUserSessionService = /** @class */ (function () {
function IdentityUserSessionService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IdentityUserSessionService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IdentityUserSessionService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserClaims?api-version=1.0
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserClaims?api-version=1.0
/**
* @return {?}
*/
IdentityUserSessionService.prototype.clearCurrentUserClaims =
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserClaims?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.post(this.baseUrl + "/" + this.scope + "/api/Identity/UserSession/ClearCurrentUserClaims", null);
};
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserSession?api-version=1.0
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserSession?api-version=1.0
/**
* @return {?}
*/
IdentityUserSessionService.prototype.clearCurrentUserSession =
// POST /{scope}/api/Identity/UserSession/ClearCurrentUserSession?api-version=1.0
/**
* @return {?}
*/
function () {
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
// GET /{scope}/api/Identity/UserSession/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IdentityUserSessionService.prototype.getClaimsForCurrentUser =
// GET /{scope}/api/Identity/UserSession/GetClaimsForCurrentUser?type={type}&issuer={issuer}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// GET /{scope}/api/Identity/UserSession/GetScopeForCurrentUser?api-version=1.0
/**
* @return {?}
*/
IdentityUserSessionService.prototype.getScopeForCurrentUser =
// GET /{scope}/api/Identity/UserSession/GetScopeForCurrentUser?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/" + this.scope + "/api/Identity/UserSession/GetScopeForCurrentUser");
};
IdentityUserSessionService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IdentityUserSessionService.ctorParameters = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IdentityUserSessionService;
}());
export { IdentityUserSessionService };
if (false) {
/**
* @type {?}
* @private
*/
IdentityUserSessionService.prototype.http;
/**
* @type {?}
* @private
*/
IdentityUserSessionService.prototype.config;
}
var IntegrationSiteService = /** @class */ (function () {
function IntegrationSiteService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IntegrationSiteService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IntegrationSiteService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /{scope}/api/Integration/Site/GetAllGroups?api-version=1.0
// GET /{scope}/api/Integration/Site/GetAllGroups?api-version=1.0
/**
* @return {?}
*/
IntegrationSiteService.prototype.getAllGroups =
// GET /{scope}/api/Integration/Site/GetAllGroups?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/" + this.scope + "/api/Integration/Site/GetAllGroups");
};
// GET /{scope}/api/Integration/Site/GetGroupsForCurrentUser?api-version=1.0
// GET /{scope}/api/Integration/Site/GetGroupsForCurrentUser?api-version=1.0
/**
* @return {?}
*/
IntegrationSiteService.prototype.getGroupsForCurrentUser =
// GET /{scope}/api/Integration/Site/GetGroupsForCurrentUser?api-version=1.0
/**
* @return {?}
*/
function () {
return this.http.get(this.baseUrl + "/" + this.scope + "/api/Integration/Site/GetGroupsForCurrentUser");
};
// GET /{scope}/api/Integration/Site/GetGroupsForUser?sub={sub}&api-version=1.0
// GET /{scope}/api/Integration/Site/GetGroupsForUser?sub={sub}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IntegrationSiteService.prototype.getGroupsForUser =
// GET /{scope}/api/Integration/Site/GetGroupsForUser?sub={sub}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IntegrationSiteService;
}());
export { IntegrationSiteService };
if (false) {
/**
* @type {?}
* @private
*/
IntegrationSiteService.prototype.http;
/**
* @type {?}
* @private
*/
IntegrationSiteService.prototype.config;
}
var IntegrationYammerMessagesService = /** @class */ (function () {
function IntegrationYammerMessagesService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IntegrationYammerMessagesService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IntegrationYammerMessagesService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// POST /{scope}/api/Integration/Yammer/YammerMessages/PostMessage?message={message}&groups={groups}&topics={topics}&action={action}&api-version=1.0
// POST /{scope}/api/Integration/Yammer/YammerMessages/PostMessage?message={message}&groups={groups}&topics={topics}&action={action}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IntegrationYammerMessagesService.prototype.postMessage =
// POST /{scope}/api/Integration/Yammer/YammerMessages/PostMessage?message={message}&groups={groups}&topics={topics}&action={action}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// 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 {?}
*/
IntegrationYammerMessagesService.prototype.postWorkItemMessage =
// 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 {?}
*/
function (workId, options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IntegrationYammerMessagesService;
}());
export { IntegrationYammerMessagesService };
if (false) {
/**
* @type {?}
* @private
*/
IntegrationYammerMessagesService.prototype.http;
/**
* @type {?}
* @private
*/
IntegrationYammerMessagesService.prototype.config;
}
var IntegrationYammerTopicsService = /** @class */ (function () {
function IntegrationYammerTopicsService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(IntegrationYammerTopicsService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(IntegrationYammerTopicsService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /api/Integration/Yammer/YammerTopics?topic={topic}&api-version=1.0
// GET /api/Integration/Yammer/YammerTopics?topic={topic}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IntegrationYammerTopicsService.prototype.getAll =
// GET /api/Integration/Yammer/YammerTopics?topic={topic}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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
// GET /api/Integration/Yammer/YammerTopics/Exists?topic={topic}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
IntegrationYammerTopicsService.prototype.exists =
// GET /api/Integration/Yammer/YammerTopics/Exists?topic={topic}&api-version=1.0
/**
* @param {?=} options
* @return {?}
*/
function (options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return IntegrationYammerTopicsService;
}());
export { IntegrationYammerTopicsService };
if (false) {
/**
* @type {?}
* @private
*/
IntegrationYammerTopicsService.prototype.http;
/**
* @type {?}
* @private
*/
IntegrationYammerTopicsService.prototype.config;
}
var ListSearchService = /** @class */ (function () {
function ListSearchService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(ListSearchService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ListSearchService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /{scope}/api/List/Search/{id}?prefix={prefix}&parentListItemId={parentListItemId}&api-version=1.0
// GET /{scope}/api/List/Search/{id}?prefix={prefix}&parentListItemId={parentListItemId}&api-version=1.0
/**
* @param {?} id
* @param {?=} options
* @return {?}
*/
ListSearchService.prototype.search =
// GET /{scope}/api/List/Search/{id}?prefix={prefix}&parentListItemId={parentListItemId}&api-version=1.0
/**
* @param {?} id
* @param {?=} options
* @return {?}
*/
function (id, options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return ListSearchService;
}());
export { ListSearchService };
if (false) {
/**
* @type {?}
* @private
*/
ListSearchService.prototype.http;
/**
* @type {?}
* @private
*/
ListSearchService.prototype.config;
}
var MonitorsSlaCompletionMonitorService = /** @class */ (function () {
function MonitorsSlaCompletionMonitorService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(MonitorsSlaCompletionMonitorService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(MonitorsSlaCompletionMonitorService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// GET /{scope}/api/Monitors/SlaCompletionMonitor/GetCompletionSlaMonitorWorkCounts/{startDate}/{endDate}?category1Id={category1Id}&siteGroup={siteGroup}&category2Id={category2Id}&category3Id={category3Id}&archive={archive}&totalProperty={totalProperty}&api-version=1.0
// 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 {?}
*/
MonitorsSlaCompletionMonitorService.prototype.getCompletionSlaMonitorWorkCounts =
// 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 {?}
*/
function (startDate, endDate, options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return MonitorsSlaCompletionMonitorService;
}());
export { MonitorsSlaCompletionMonitorService };
if (false) {
/**
* @type {?}
* @private
*/
MonitorsSlaCompletionMonitorService.prototype.http;
/**
* @type {?}
* @private
*/
MonitorsSlaCompletionMonitorService.prototype.config;
}
var MonitorsSlaInflowsMonitorService = /** @class */ (function () {
function MonitorsSlaInflowsMonitorService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(MonitorsSlaInflowsMonitorService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(MonitorsSlaInflowsMonitorService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// 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
// 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 {?}
*/
MonitorsSlaInflowsMonitorService.prototype.getInflowsSlaMonitorWorkCounts =
// 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 {?}
*/
function (options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return MonitorsSlaInflowsMonitorService;
}());
export { MonitorsSlaInflowsMonitorService };
if (false) {
/**
* @type {?}
* @private
*/
MonitorsSlaInflowsMonitorService.prototype.http;
/**
* @type {?}
* @private
*/
MonitorsSlaInflowsMonitorService.prototype.config;
}
var MonitorsSlaInventoryMonitorService = /** @class */ (function () {
function MonitorsSlaInventoryMonitorService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(MonitorsSlaInventoryMonitorService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(MonitorsSlaInventoryMonitorService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// 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
// 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 {?}
*/
MonitorsSlaInventoryMonitorService.prototype.getInventorySlaMonitorWorkCounts =
// 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 {?}
*/
function (startDate, endDate, options) {
/** @type {?} */
var 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 = function () { return [
{ type: HttpClient },
{ type: e5Config }
]; };
return MonitorsSlaInventoryMonitorService;
}());
export { MonitorsSlaInventoryMonitorService };
if (false) {
/**
* @type {?}
* @private
*/
MonitorsSlaInventoryMonitorService.prototype.http;
/**
* @type {?}
* @private
*/
MonitorsSlaInventoryMonitorService.prototype.config;
}
var MonitorsSlaMonitorService = /** @class */ (function () {
function MonitorsSlaMonitorService(http, config) {
this.http = http;
this.config = config;
}
Object.defineProperty(MonitorsSlaMonitorService.prototype, "baseUrl", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.baseUrl;
},
enumerable: true,
configurable: true
});
Object.defineProperty(MonitorsSlaMonitorService.prototype, "scope", {
get: /**
* @private
* @return {?}
*/
function () {
return this.config.settings.apiServer.scope;
},
enumerable: true,
configurable: true
});
// 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
// GET /{scope}/api/Monitors/SlaMonitor/GetSlaMonitorWorkCounts/{category1Id}/{category2Id}/{category3Id}/{categoryActivityId}?showEmptyCategories={showEmptyCategories}&approachingSLARange={approachingSLARange}&isApproachingSLAInHours={isApproachingSLAInHours}&statuses={stat