namespace FsTool.Tasks { public static partial class StoreTasks { /// /// Represents a pickup date and the occupied slots for that date. /// /// The pickup date string. /// The slots already assigned for the date. public record Pickup(string Date, List OccupiedSlots); /// /// Describes a booked slot and the profile occupying it. /// /// Indicates whether the slot is confirmed. /// The profile assigned to the slot. public record Slot(bool IsConfirmed, Profile Profile); /// /// Minimal profile information for a store member. /// /// The Foodsharing profile identifier. /// The profile display name. public record Profile(int Id, string Name); /// /// Detailed store member information including verification and team status flags. /// /// The member identifier. /// The member name. /// The member's active status within the team. /// The verification state of the member. public record Member(int Id, string Name, TeamActiveStatus Team_Active, VerifiedStatus Verified); /// /// Indicates whether a team member is active or only available as a jumper. /// public enum TeamActiveStatus { Jumper = 2, Active = 1, } /// /// Specifies whether a member has completed verification. /// public enum VerifiedStatus { Unverified = 0, Verified = 1, } } }