mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
19 lines
1.6 KiB
C#
19 lines
1.6 KiB
C#
|
|
using SeaHaven.Services.DTOs;
|
||
|
|
|
||
|
|
namespace SeaHaven.Services.Interfaces
|
||
|
|
{
|
||
|
|
public interface IVendorOperationsService
|
||
|
|
{
|
||
|
|
Task<VendorNotificationsResult> GetNotificationsAsync(CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<VendorAvailabilityResult>> GetAvailabilityAsync(DateTime? start, DateTime? end, int? locationId, string? trade, CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<VendorAvailabilityUpdateResult>> UpdateAvailabilityAsync(int vendorId, string? status, string actor, CancellationToken cancellationToken);
|
||
|
|
Task<IReadOnlyList<SitePreferenceRow>> GetSitePreferencesAsync(int locationId, CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<IReadOnlyList<SitePreferenceRow>>> ReplaceSitePreferencesAsync(int locationId, IReadOnlyList<SitePreferenceRequest> body, string actor, CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<DocumentReviewResult>> ReviewDocumentAsync(int documentId, DocumentReviewRequest body, string actor, CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<CommercialStatusResult>> UpdateCommercialStatusAsync(int dispatchId, CommercialStatusRequest body, string actor, CancellationToken cancellationToken);
|
||
|
|
Task<VendorOperationOutcome<VendorAssignmentResult>> AssignVendorAsync(int workOrderId, VendorAssignmentRequest body, string actor, CancellationToken cancellationToken);
|
||
|
|
Task<IReadOnlyList<VendorInsightRow>> GetInsightRowsAsync(DateTime? from, DateTime? to, int? locationId, string? trade, int? vendorId, CancellationToken cancellationToken);
|
||
|
|
DateTime UtcNow { get; }
|
||
|
|
}
|
||
|
|
}
|