import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { FleioApiService } from '../fleio-api.service';
import { ConfigService } from '../../config/config.service';
import { IMessageTemplateModel } from './model/message-template.model';


@Injectable({
  providedIn: 'root'
})
export class NotificationTemplatesCategoriesApiService extends FleioApiService<IMessageTemplateModel> {
  constructor(protected httpClient: HttpClient, protected config: ConfigService) {
    super();
    this.setEndpoint(config.getPanelApiUrl('notifications_categories'));
  }
}
