using System.Collections.Immutable; using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; namespace Connected.Logistics.Types.Packaging; [Service] [ServiceUrl(LogisticsUrls.Packing)] public interface IPackingService : 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.Get | ServiceMethodVerbs.Post)] Task Select(SelectPackingArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Put)] Task Insert(InsertPackingArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch)] Task Update(UpdatePackingArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch)] Task Patch(PatchArgs args); [ServiceMethod(ServiceMethodVerbs.Delete | ServiceMethodVerbs.Post)] Task Delete(PrimaryKeyArgs args); }