/** * Enrollments Resource * * Manage user-to-class enrollments. */ import { BaseResource } from '../base'; import type { z } from 'zod/v4'; import type { EnrollmentCreateInput } from '@timeback/types/zod'; import type { Enrollment, EnrollmentFilterFields, ListParamsNoSearch, OneRosterTransportLike } from '../../types'; /** * Resource for managing enrollments (user-to-class relationships). * * Uses EnrollmentCreateInput for create/update (simple refs with just sourcedId) * and returns Enrollment for get/list (full refs with href, type, name). */ export declare class EnrollmentsResource extends BaseResource> { constructor(transport: OneRosterTransportLike); /** * Partially update an enrollment. * * Only the fields provided will be updated. Other fields remain unchanged. * * @param sourcedId - The enrollment sourcedId * @param data - The fields to update * @throws {InputValidationError} If sourcedId is empty or data fails validation */ patch(sourcedId: string, data: Partial): Promise; protected get unwrapKey(): string; protected get wrapKey(): string; protected get createSchema(): z.ZodTypeAny; protected get updateSchema(): z.ZodTypeAny; protected get patchSchema(): z.ZodTypeAny; } //# sourceMappingURL=enrollments.d.ts.map