import { Component, OnInit } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { PredefinedRepliesListUiService } from '../predefined-replies-list-ui.service';
import { IPredefinedReplyCategoryModel } from '@fleio-api/plugins/tickets/model/predefined-reply-category.model';

@Component({
  selector: 'app-predefined-replies-list',
  templateUrl: './predefined-replies-list.component.html',
  styleUrls: ['./predefined-replies-list.component.scss']
})
export class PredefinedRepliesListComponent extends ListBase<IPredefinedReplyCategoryModel> implements OnInit {
  constructor(
    private route: ActivatedRoute, private predefinedRepliesListUiService: PredefinedRepliesListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, predefinedRepliesListUiService, refreshService, 'categories');
  }

  ngOnInit() {
    super.ngOnInit();
  }
}
