import * as z from "zod"; import type { AttendanceScannerEvent } from "../../hooks/useAttendanceCheckinScanner"; import { ActivityStatusEnum } from "../ActivityListPage/ActivityListPage.types"; import { ParticipationStatusEnum } from "../../components/shared/ParticipationStatus/ParticipationStatus.types"; export type ParticipationStatus = z.infer; export declare const MemberSchema: z.ZodObject<{ id: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; birthDate: z.ZodOptional; avatarUrl: z.ZodOptional>; status: z.ZodOptional; /** Participation status for this activity (PENDING, CONFIRMED, DECLINED) */ participationStatus: z.ZodOptional>; /** Real attendance check-in timestamp for this activity, when one exists */ confirmedAt: z.ZodOptional; /** Attendance status shown in confirmed attendance card after window closes */ attendanceStatus: z.ZodOptional>; /** Reason provided when declining participation */ declineReason: z.ZodOptional; ranks: z.ZodOptional, "many">>; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; startDate: string; endDate: string | null; }, { id: string; name: string; description: string; startDate: string; endDate: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }>; export declare const InsumoSchema: z.ZodObject<{ id: z.ZodString; quantity: z.ZodNumber; minimumQuantity: z.ZodNullable; inventoryItem: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodNullable; description: z.ZodString; consumable: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; location: z.ZodNullable; status: z.ZodString; condition: z.ZodNullable; item: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; description: z.ZodNullable; category: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; }, { id: string | null; name: string | null; }>; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }>; }, "strip", z.ZodTypeAny, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }>; export declare const OccurrenceSchema: z.ZodObject<{ id: z.ZodOptional; date: z.ZodString; startTime: z.ZodString; endTime: z.ZodString; }, "strip", z.ZodTypeAny, { date: string; startTime: string; endTime: string; id?: string | undefined; }, { date: string; startTime: string; endTime: string; id?: string | undefined; }>; export declare const ActivityDetailSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; isTemplate: z.ZodBoolean; qrReleaseOffsetMinutes: z.ZodOptional>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; minConfirmedMembers: z.ZodOptional; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; terreiroId: z.ZodString; occurrences: z.ZodObject<{ list: z.ZodArray; date: z.ZodString; startTime: z.ZodString; endTime: z.ZodString; }, "strip", z.ZodTypeAny, { date: string; startTime: string; endTime: string; id?: string | undefined; }, { date: string; startTime: string; endTime: string; id?: string | undefined; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }, { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }>; members: z.ZodObject<{ list: z.ZodArray; avatarUrl: z.ZodOptional>; status: z.ZodOptional; /** Participation status for this activity (PENDING, CONFIRMED, DECLINED) */ participationStatus: z.ZodOptional>; /** Real attendance check-in timestamp for this activity, when one exists */ confirmedAt: z.ZodOptional; /** Attendance status shown in confirmed attendance card after window closes */ attendanceStatus: z.ZodOptional>; /** Reason provided when declining participation */ declineReason: z.ZodOptional; ranks: z.ZodOptional, "many">>; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; startDate: string; endDate: string | null; }, { id: string; name: string; description: string; startDate: string; endDate: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }, { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }>; insumos: z.ZodObject<{ list: z.ZodArray; inventoryItem: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodNullable; description: z.ZodString; consumable: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; location: z.ZodNullable; status: z.ZodString; condition: z.ZodNullable; item: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; description: z.ZodNullable; category: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; }, { id: string | null; name: string | null; }>; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }>; }, "strip", z.ZodTypeAny, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }, { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; }, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; }>; export type ActivityDetail = z.infer; export type Member = z.infer; export type Insumo = z.infer; export type Occurrence = z.infer; export declare enum ActivityStatus { PENDING = "PENDING", CONFIRMED = "CONFIRMED", IN_PROGRESS = "IN_PROGRESS", FINALIZED = "FINALIZED", REALIZED = "REALIZED", NOT_REALIZED = "NOT_REALIZED", CANCELLED = "CANCELLED", MODEL = "MODEL" } export declare const ParticipationResponseInputSchema: z.ZodObject<{ activityId: z.ZodString; memberId: z.ZodString; status: z.ZodEnum<["PENDING", "CONFIRMED", "DECLINED"]>; declineReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "PENDING" | "CONFIRMED" | "DECLINED"; memberId: string; activityId: string; declineReason?: string | undefined; }, { status: "PENDING" | "CONFIRMED" | "DECLINED"; memberId: string; activityId: string; declineReason?: string | undefined; }>; export type ParticipationResponseInput = z.infer; export declare const ActivityDetailPagePropsSchema: z.ZodObject<{ activity: z.ZodNullable>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; minConfirmedMembers: z.ZodOptional; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; terreiroId: z.ZodString; occurrences: z.ZodObject<{ list: z.ZodArray; date: z.ZodString; startTime: z.ZodString; endTime: z.ZodString; }, "strip", z.ZodTypeAny, { date: string; startTime: string; endTime: string; id?: string | undefined; }, { date: string; startTime: string; endTime: string; id?: string | undefined; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }, { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }>; members: z.ZodObject<{ list: z.ZodArray; avatarUrl: z.ZodOptional>; status: z.ZodOptional; /** Participation status for this activity (PENDING, CONFIRMED, DECLINED) */ participationStatus: z.ZodOptional>; /** Real attendance check-in timestamp for this activity, when one exists */ confirmedAt: z.ZodOptional; /** Attendance status shown in confirmed attendance card after window closes */ attendanceStatus: z.ZodOptional>; /** Reason provided when declining participation */ declineReason: z.ZodOptional; ranks: z.ZodOptional, "many">>; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; startDate: string; endDate: string | null; }, { id: string; name: string; description: string; startDate: string; endDate: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }, { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }>; insumos: z.ZodObject<{ list: z.ZodArray; inventoryItem: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodNullable; description: z.ZodString; consumable: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; location: z.ZodNullable; status: z.ZodString; condition: z.ZodNullable; item: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; description: z.ZodNullable; category: z.ZodObject<{ id: z.ZodNullable; name: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; }, { id: string | null; name: string | null; }>; }, "strip", z.ZodTypeAny, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }, { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }>; }, "strip", z.ZodTypeAny, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }, { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }, { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }>, "many">; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }, { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; }, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; }>>; isLoading: z.ZodOptional; isAdmin: z.ZodDefault>; isPersonalProfile: z.ZodDefault>; error: z.ZodOptional>; canChangeStatus: z.ZodOptional; canUseModel: z.ZodDefault>; /** Current logged-in user's member ID (to show RSVP buttons for themselves) */ currentMemberId: z.ZodOptional; onClose: z.ZodOptional, z.ZodVoid>>; onEdit: z.ZodOptional, z.ZodVoid>>; onAddMedium: z.ZodOptional, z.ZodVoid>>; onAddSupply: z.ZodOptional, z.ZodVoid>>; onChangeStatus: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: ActivityStatus; activityId: string; }, { status: ActivityStatus; activityId: string; }>], null>, z.ZodVoid>>; onUseModel: z.ZodOptional, z.ZodVoid>>; /** Callback when a member confirms participation - receives { entityId, memberId } */ onConfirmParticipation: z.ZodOptional], null>, z.ZodVoid>>; /** Callback when a member declines participation - receives { entityId, memberId, reason } */ onDeclineParticipation: z.ZodOptional], null>, z.ZodVoid>>; canManageQr: z.ZodOptional; attendanceQr: z.ZodOptional; entityType: z.ZodEnum<["EVENT", "ACTIVITY"]>; entityId: z.ZodString; terreiroId: z.ZodString; opensAt: z.ZodOptional; closesAt: z.ZodOptional; now: z.ZodString; token: z.ZodOptional; qrValue: z.ZodOptional; }, "strip", z.ZodTypeAny, { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; }, { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; }>>>; onRefreshQrState: z.ZodOptional, z.ZodVoid>>; canScanCheckin: z.ZodOptional; /** Check-in window state for the current member (returned by /checkin-window endpoint). * CTA is only shown when state === 'active'. */ checkinWindow: z.ZodOptional; opensAt: z.ZodOptional; closesAt: z.ZodOptional; now: z.ZodString; }, "strip", z.ZodTypeAny, { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; }, { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; }>>>; isSubmittingCheckin: z.ZodOptional; checkinFeedback: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; severity: "warning" | "error" | "info" | "success"; }, { message: string; severity: "warning" | "error" | "info" | "success"; }>>>; onScanCheckin: z.ZodOptional, z.ZodVoid>>; onCheckinScannerOpen: z.ZodOptional, z.ZodVoid>>; onCheckinScannerEvent: z.ZodOptional void, z.ZodTypeDef, (event: AttendanceScannerEvent) => void>>; onCheckinManualFallbackUsed: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; isPersonalProfile: boolean; activity: { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; } | null; canUseModel: boolean; onClose?: (() => void) | undefined; error?: string | null | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; isLoading?: boolean | undefined; onEdit?: ((args_0: string) => void) | undefined; canChangeStatus?: boolean | undefined; currentMemberId?: string | undefined; onAddMedium?: ((args_0: string) => void) | undefined; onAddSupply?: ((args_0: string) => void) | undefined; onChangeStatus?: ((args_0: { status: ActivityStatus; activityId: string; }) => void) | undefined; onUseModel?: ((args_0: string) => void) | undefined; canManageQr?: boolean | undefined; attendanceQr?: { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; } | null | undefined; onRefreshQrState?: (() => void) | undefined; canScanCheckin?: boolean | undefined; checkinWindow?: { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; } | null | undefined; isSubmittingCheckin?: boolean | undefined; checkinFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onScanCheckin?: ((args_0: string) => void) | undefined; onCheckinScannerOpen?: (() => void) | undefined; onCheckinScannerEvent?: ((event: AttendanceScannerEvent) => void) | undefined; onCheckinManualFallbackUsed?: (() => void) | undefined; }, { activity: { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; } | null; onClose?: (() => void) | undefined; error?: string | null | undefined; isAdmin?: boolean | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; isLoading?: boolean | undefined; onEdit?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; canChangeStatus?: boolean | undefined; canUseModel?: boolean | undefined; currentMemberId?: string | undefined; onAddMedium?: ((args_0: string) => void) | undefined; onAddSupply?: ((args_0: string) => void) | undefined; onChangeStatus?: ((args_0: { status: ActivityStatus; activityId: string; }) => void) | undefined; onUseModel?: ((args_0: string) => void) | undefined; canManageQr?: boolean | undefined; attendanceQr?: { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; } | null | undefined; onRefreshQrState?: (() => void) | undefined; canScanCheckin?: boolean | undefined; checkinWindow?: { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; } | null | undefined; isSubmittingCheckin?: boolean | undefined; checkinFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onScanCheckin?: ((args_0: string) => void) | undefined; onCheckinScannerOpen?: (() => void) | undefined; onCheckinScannerEvent?: ((event: AttendanceScannerEvent) => void) | undefined; onCheckinManualFallbackUsed?: (() => void) | undefined; }>; export type ActivityDetailPageProps = z.infer; export type ChangeStatusInput = { activityId: string; status: ActivityStatusEnum; };