package com.ikon.projectmanagement.api;

import java.util.List;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ikon.projectmanagement.dto.response.WorkingDayDto;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

@Tag(name = "Import Working Day API", description = "API for importing Working Day master data from Sales CRM")
@RequestMapping("/import-data/working-days")
public interface ImportWorkingDayApi {

    @Operation(summary = "Fetch all working days from Sales CRM and persist locally")
    @GetMapping
    ResponseEntity<List<WorkingDayDto>> fetchAllWorkingDays(@RequestHeader("Authorization") String accessToken);
}
