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 { IServiceCycleModel } from '@fleio-api/billing/service-cycles/models/service-cycle-model';

@Injectable({
  providedIn: 'root'
})
export class ServiceCyclesApiService extends FleioApiService<IServiceCycleModel> {
  constructor(protected httpClient: HttpClient, protected config: ConfigService) {
    super();
    this.setEndpoint(config.getPanelApiUrl('billing/service-cycles'));
  }

}
