using System.Collections.Immutable; using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; namespace Logistics.Types.Warehouses; [Service] [ServiceUrl(LogisticsUrls.Warehouses)] public interface IWarehouseService : IServiceNotifications { [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task> Query(QueryArgs? args); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task> Query(PrimaryKeyListArgs args); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task Select(PrimaryKeyArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Put)] Task Insert(InsertWarehouseArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch)] Task Update(UpdateWarehouseArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch)] Task Patch(PatchArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Delete)] Task Delete(PrimaryKeyArgs args); }