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

@Injectable({
  providedIn: 'root'
})
export class EmailMessageLogApiService extends FleioApiService<IEmailMessageLogModel> {
  // noinspection JSUnusedGlobalSymbols
  constructor(protected httpClient: HttpClient, protected config: ConfigService) {
    super();
    this.setEndpoint(config.getPanelApiUrl('logger/email-message-log'));
  }
}
