Skip to content

Commit

Permalink
Remove HE quals from VNext endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad committed Dec 20, 2024
1 parent 44ee849 commit 47b7d7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ public enum GetPersonRequestIncludes
NpqQualifications = 1 << 2,
MandatoryQualifications = 1 << 3,
PendingDetailChanges = 1 << 4,
HigherEducationQualifications = 1 << 5,
Alerts = 1 << 7,
PreviousNames = 1 << 8,

[ExcludeFromSchema]
_AllowIdSignInWithProhibitions = 1 << 9,

All = Induction | InitialTeacherTraining | NpqQualifications | MandatoryQualifications | PendingDetailChanges | HigherEducationQualifications | Alerts | PreviousNames
All = Induction | InitialTeacherTraining | NpqQualifications | MandatoryQualifications | PendingDetailChanges | Alerts | PreviousNames
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public record GetPersonResponse
public required Option<IReadOnlyCollection<GetPersonResponseInitialTeacherTraining>> InitialTeacherTraining { get; init; }
public required Option<IReadOnlyCollection<GetPersonResponseNpqQualification>> NpqQualifications { get; init; }
public required Option<IReadOnlyCollection<GetPersonResponseMandatoryQualification>> MandatoryQualifications { get; init; }
public required Option<IReadOnlyCollection<GetPersonResponseHigherEducationQualification>> HigherEducationQualifications { get; init; }
public required Option<IReadOnlyCollection<SanctionInfo>> Sanctions { get; init; }
public required Option<IReadOnlyCollection<Alert>> Alerts { get; init; }
public required Option<IReadOnlyCollection<NameInfo>> PreviousNames { get; init; }
Expand Down Expand Up @@ -109,21 +108,6 @@ public record GetPersonResponseMandatoryQualification
public required string Specialism { get; init; }
}

[AutoMap(typeof(GetPersonResultHigherEducationQualification))]
public record GetPersonResponseHigherEducationQualification
{
public required string? Name { get; init; }
public required DateOnly? Awarded { get; init; }
public required IReadOnlyCollection<GetPersonResponseHigherEducationQualificationSubject> Subjects { get; init; }
}

[AutoMap(typeof(GetPersonResultHigherEducationQualificationSubject))]
public record GetPersonResponseHigherEducationQualificationSubject
{
public required string Code { get; init; }
public required string Name { get; init; }
}

[AutoMap(typeof(GetPersonResultInduction))]
public record GetPersonResponseInduction : InductionInfo
{
Expand Down

0 comments on commit 47b7d7d

Please sign in to comment.