2026-09-16 11:34:45 -03:00
|
|
|
using System.Security.Claims;
|
2026-08-03 17:53:24 -03:00
|
|
|
using SeaHaven.Services.DTOs;
|
|
|
|
|
|
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IVendorCompanyRosterService
|
|
|
|
|
{
|
|
|
|
|
Task<VendorRosterDTO?> GetRosterAsync(
|
|
|
|
|
int? vendorId,
|
|
|
|
|
int? companyId,
|
|
|
|
|
string userId,
|
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
Task<VendorRosterDTO> CreateRosterAsync(
|
|
|
|
|
CreateVendorRosterDTO dto,
|
|
|
|
|
string userId,
|
2026-09-16 11:34:45 -03:00
|
|
|
ClaimsPrincipal caller,
|
2026-08-03 17:53:24 -03:00
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
Task<VendorRosterDTO> ReconcileRosterAsync(
|
|
|
|
|
int companyId,
|
|
|
|
|
ReconcileVendorRosterDTO dto,
|
|
|
|
|
string userId,
|
2026-09-16 11:34:45 -03:00
|
|
|
ClaimsPrincipal caller,
|
2026-08-03 17:53:24 -03:00
|
|
|
CancellationToken cancellationToken);
|
2026-08-18 12:14:12 -03:00
|
|
|
|
|
|
|
|
Task<VendorRosterDTO> AddTechniciansAsync(
|
|
|
|
|
int companyId,
|
|
|
|
|
AddTechniciansVendorRosterDTO dto,
|
|
|
|
|
string userId,
|
2026-09-16 11:34:45 -03:00
|
|
|
ClaimsPrincipal caller,
|
2026-08-18 12:14:12 -03:00
|
|
|
CancellationToken cancellationToken);
|
2026-08-03 17:53:24 -03:00
|
|
|
}
|
|
|
|
|
}
|