import {Injectable} from '@angular/core'; import {HttpClient, HttpHeaders} from '@angular/common/http'; import { Constants } from '../../shared/utils/constants'; import { ServiceType } from "../../shared/models/serviceType"; import {GetSubDetailsResponse} from "./responseInterfaces/getSubDetailsResponseInterface"; import {Observable} from "rxjs/Observable"; import * as _ from 'lodash'; import {CategoryParams} from "../../shared/models/categoryParams"; import {GetCategoryParamsResponseInterface} from "./responseInterfaces/getCategoryParamsResponseInterface"; import {Project} from "../../shared/models/project"; import {OwningEntity} from "../../shared/models/owningEntity"; import {GetServicesResponseInterface} from "./responseInterfaces/getServicesResponseInterface"; import {Subscriber} from "../../shared/models/subscriber"; import {GetSubscribers