import { Injectable } from '@angular/core';
import { ConfigService } from '@shared/config/config.service';
import { FleioApiService } from '../../fleio-api.service';
import { HttpClient } from '@angular/common/http';
import { IServiceConfigOptionModel } from '@fleio-api/billing/model/service-config-option.model';

@Injectable({
  providedIn: 'root'
})
export class ServiceConfigurableOptionApiService extends FleioApiService<IServiceConfigOptionModel> {
  // noinspection JSUnusedGlobalSymbols
  constructor(protected httpClient: HttpClient, protected config: ConfigService) {
    super();
    this.setEndpoint(config.getPanelApiUrl('billing/service-configurable-opts'));
  }
}
