diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/IttProgrammeType.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/IttProgrammeType.cs index c2ec10d26a..953687b1c5 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/IttProgrammeType.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/IttProgrammeType.cs @@ -79,7 +79,13 @@ public enum IttProgrammeType InternationalQualifiedTeacherStatus = 389040023, [Description("High potential ITT")] - HighPotentialITT = 389040024 + HighPotentialITT = 389040024, + + [Description("Primary and secondary undergraduate fee funded")] + Primaryandsecondaryundergraduatefeefunded = 389040025, + + [Description("Primary and secondary postgraduate fee funded")] + Primaryandsecondarypostgraduatefeefunded = 389040026 } public static class IttProgrammeTypeExtensions diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs index 594662d578..15ac4c5e04 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs @@ -2056,6 +2056,14 @@ public enum dfeta_ITTProgrammeType [OptionSetMetadataAttribute("Overseas Trained Teacher Programme", 8)] OverseasTrainedTeacherProgramme = 389040007, + [System.Runtime.Serialization.EnumMemberAttribute()] + [OptionSetMetadataAttribute("Primary and secondary postgraduate fee funded", 26, "#0000ff")] + Primaryandsecondarypostgraduatefeefunded = 389040026, + + [System.Runtime.Serialization.EnumMemberAttribute()] + [OptionSetMetadataAttribute("Primary and secondary undergraduate fee funded", 25, "#0000ff")] + Primaryandsecondaryundergraduatefeefunded = 389040025, + [System.Runtime.Serialization.EnumMemberAttribute()] [OptionSetMetadataAttribute("Provider-led (postgrad)", 21, "#0000ff")] Providerled_postgrad = 389040021, @@ -3177,6 +3185,19 @@ public enum SdkMessageProcessingStepImage_ImageType PreImage = 0, } + [System.Runtime.Serialization.DataContractAttribute()] + public enum securityrole_IsAutoAssigned + { + + [System.Runtime.Serialization.EnumMemberAttribute()] + [OptionSetMetadataAttribute("No", 0)] + No = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + [OptionSetMetadataAttribute("Yes", 1)] + Yes = 1, + } + [System.Runtime.Serialization.DataContractAttribute()] public enum ServiceStage { diff --git a/TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V2/Operations/UpdateTeacherTests.cs b/TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V2/Operations/UpdateTeacherTests.cs index 4dd79c7f5a..b03e4da0d9 100644 --- a/TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V2/Operations/UpdateTeacherTests.cs +++ b/TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V2/Operations/UpdateTeacherTests.cs @@ -800,6 +800,8 @@ public async Task Given_asessmentonlyroute_programmetype_then_intraining_outcome [InlineData(IttProgrammeType.UndergraduateOptIn)] [InlineData(IttProgrammeType.LicensedTeacherProgramme)] [InlineData(IttProgrammeType.ProviderLedPostgrad)] + [InlineData(IttProgrammeType.Primaryandsecondarypostgraduatefeefunded)] + [InlineData(IttProgrammeType.Primaryandsecondaryundergraduatefeefunded)] public async Task Given_non_asessmentonlyroute_programmetypes_then_underassessment_outcome_is_not_permitted(IttProgrammeType programmeType) { // Arrange