package com.example.petstoremobile.api;

import com.example.petstoremobile.dtos.ActivityLogDTO;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

// api calls to get activity logs
public interface ActivityLogApi {

    // Get activity logs with filters
    @GET("api/v1/activity-logs")
    Call<List<ActivityLogDTO>> getActivityLogs(
            @Query("limit") int limit,
            @Query("storeId") Long storeId,
            @Query("role") String role,
            @Query("search") String search,
            @Query("startDate") String startDate,
            @Query("endDate") String endDate
    );
}
