import { BaseApiService } from '@/services/api/base';
import {
  CreateDailyChecklistConfigurationPayload,
  DailyChecklistConfiguration,
  UpdateDailyChecklistConfigurationPayload,
} from '@/types/api/daily-checklist/configuration';

export class DailyChecklistConfigurationApiService extends BaseApiService<
  DailyChecklistConfiguration,
  CreateDailyChecklistConfigurationPayload,
  UpdateDailyChecklistConfigurationPayload
> {
  constructor(basePath: string = '/master-data/config-checklists') {
    super(basePath);
  }
}

export const DailyChecklistConfigurationApi =
  new DailyChecklistConfigurationApiService('/master-data/config-checklists');
