@@ -317,8 +317,10 @@ type RealmAdminConfiguration struct {
317317 RegisterTheme * string `json:"register_theme"`
318318 SignerTheme * string `json:"signer_theme"`
319319 NeedVerifiedContact * bool `json:"need_verified_contact"`
320+ NeedVerifiedContactAuxiliary * bool `json:"need_verified_contact_auxiliary"`
320321 ConsentRequiredSocial * bool `json:"consent_required_social"`
321322 ConsentRequiredCorporate * bool `json:"consent_required_corporate"`
323+ ConsentRequiredCorporateAuxiliary * bool `json:"consent_required_corporate_auxiliary"`
322324 VideoIdentificationVoucherEnabled * bool `json:"video_identification_voucher_enabled"`
323325 VideoIdentificationAccountingEnabled * bool `json:"video_identification_accounting_enabled"`
324326 VideoIdentificationPrepaymentRequired * bool `json:"video_identification_prepayment_required"`
@@ -332,6 +334,7 @@ type RealmAdminConfiguration struct {
332334 AuxiliaryVideoIdentificationAllowedRoles []string `json:"auxiliary_video_identification_allowed_roles"`
333335 AutoIdentificationAllowedRoles []string `json:"auto_identification_allowed_roles"`
334336 PhysicalIdentificationAllowedRoles []string `json:"physical_identification_allowed_roles"`
337+ AuxiliaryPhysicalIdentificationAllowedRoles []string `json:"auxiliary_physical_identification_allowed_roles"`
335338 OnboardingStatusEnabled * bool `json:"onboarding_status_enabled"`
336339 AutoGeneratedUsernameEnabled * bool `json:"auto_generated_username_enabled"`
337340 AutoGeneratedUsernameToggleEnabled * bool `json:"auto_generated_username_toggle_enabled"`
@@ -883,19 +886,21 @@ func ConvertRealmAdminConfigurationFromDBStruct(conf configuration.RealmAdminCon
883886 }
884887 var emptyArray = []string {}
885888 return RealmAdminConfiguration {
886- Mode : defaultString (conf .Mode , "corporate" ),
887- AvailableChecks : checks ,
888- SelfRegisterEnabled : defaultBool (conf .SelfRegisterEnabled , false ),
889- BoTheme : conf .BoTheme ,
890- SseTheme : conf .SseTheme ,
891- RegisterTheme : conf .RegisterTheme ,
892- SignerTheme : conf .SignerTheme ,
893- NeedVerifiedContact : defaultBool (conf .NeedVerifiedContact , true ),
894- ConsentRequiredSocial : defaultBool (conf .ConsentRequiredSocial , false ),
895- ConsentRequiredCorporate : defaultBool (conf .ConsentRequiredCorporate , false ),
896- VideoIdentificationVoucherEnabled : defaultBool (conf .VideoIdentificationVoucherEnabled , false ),
897- VideoIdentificationAccountingEnabled : defaultBool (conf .VideoIdentificationAccountingEnabled , false ),
898- VideoIdentificationPrepaymentRequired : defaultBool (conf .VideoIdentificationPrepaymentRequired , false ),
889+ Mode : defaultString (conf .Mode , "corporate" ),
890+ AvailableChecks : checks ,
891+ SelfRegisterEnabled : defaultBool (conf .SelfRegisterEnabled , false ),
892+ BoTheme : conf .BoTheme ,
893+ SseTheme : conf .SseTheme ,
894+ RegisterTheme : conf .RegisterTheme ,
895+ SignerTheme : conf .SignerTheme ,
896+ NeedVerifiedContact : defaultBool (conf .NeedVerifiedContact , true ),
897+ NeedVerifiedContactAuxiliary : defaultBool (conf .NeedVerifiedContactAuxiliary , true ),
898+ ConsentRequiredSocial : defaultBool (conf .ConsentRequiredSocial , false ),
899+ ConsentRequiredCorporate : defaultBool (conf .ConsentRequiredCorporate , false ),
900+ ConsentRequiredCorporateAuxiliary : defaultBool (conf .ConsentRequiredCorporateAuxiliary , false ),
901+ VideoIdentificationVoucherEnabled : defaultBool (conf .VideoIdentificationVoucherEnabled , false ),
902+ VideoIdentificationAccountingEnabled : defaultBool (conf .VideoIdentificationAccountingEnabled , false ),
903+ VideoIdentificationPrepaymentRequired : defaultBool (conf .VideoIdentificationPrepaymentRequired , false ),
899904 AuxiliaryVideoIdentificationVoucherEnabled : defaultBool (conf .AuxiliaryVideoIdentificationVoucherEnabled , false ),
900905 AuxiliaryVideoIdentificationAccountingEnabled : defaultBool (conf .AuxiliaryVideoIdentificationAccountingEnabled , false ),
901906 AuxiliaryVideoIdentificationPrepaymentRequired : defaultBool (conf .AuxiliaryVideoIdentificationPrepaymentRequired , false ),
@@ -906,6 +911,7 @@ func ConvertRealmAdminConfigurationFromDBStruct(conf configuration.RealmAdminCon
906911 AuxiliaryVideoIdentificationAllowedRoles : defaultStringArray (conf .AuxiliaryVideoIdentificationAllowedRoles , emptyArray ),
907912 AutoIdentificationAllowedRoles : defaultStringArray (conf .AutoIdentificationAllowedRoles , emptyArray ),
908913 PhysicalIdentificationAllowedRoles : defaultStringArray (conf .PhysicalIdentificationAllowedRoles , emptyArray ),
914+ AuxiliaryPhysicalIdentificationAllowedRoles : defaultStringArray (conf .AuxiliaryPhysicalIdentificationAllowedRoles , emptyArray ),
909915 OnboardingStatusEnabled : defaultBool (conf .OnboardingStatusEnabled , false ),
910916 AutoGeneratedUsernameEnabled : defaultBool (conf .AutoGeneratedUsernameEnabled , false ),
911917 AutoGeneratedUsernameToggleEnabled : defaultBool (conf .AutoGeneratedUsernameToggleEnabled , false ),
@@ -916,19 +922,21 @@ func ConvertRealmAdminConfigurationFromDBStruct(conf configuration.RealmAdminCon
916922// ConvertToDBStruct converts a realm admin configuration into its database version
917923func (rac RealmAdminConfiguration ) ConvertToDBStruct () configuration.RealmAdminConfiguration {
918924 return configuration.RealmAdminConfiguration {
919- Mode : rac .Mode ,
920- AvailableChecks : rac .AvailableChecks ,
921- SelfRegisterEnabled : rac .SelfRegisterEnabled ,
922- BoTheme : rac .BoTheme ,
923- SseTheme : rac .SseTheme ,
924- RegisterTheme : rac .RegisterTheme ,
925- SignerTheme : rac .SignerTheme ,
926- NeedVerifiedContact : rac .NeedVerifiedContact ,
927- ConsentRequiredSocial : rac .ConsentRequiredSocial ,
928- ConsentRequiredCorporate : rac .ConsentRequiredCorporate ,
929- VideoIdentificationVoucherEnabled : rac .VideoIdentificationVoucherEnabled ,
930- VideoIdentificationAccountingEnabled : rac .VideoIdentificationAccountingEnabled ,
931- VideoIdentificationPrepaymentRequired : rac .VideoIdentificationPrepaymentRequired ,
925+ Mode : rac .Mode ,
926+ AvailableChecks : rac .AvailableChecks ,
927+ SelfRegisterEnabled : rac .SelfRegisterEnabled ,
928+ BoTheme : rac .BoTheme ,
929+ SseTheme : rac .SseTheme ,
930+ RegisterTheme : rac .RegisterTheme ,
931+ SignerTheme : rac .SignerTheme ,
932+ NeedVerifiedContact : rac .NeedVerifiedContact ,
933+ NeedVerifiedContactAuxiliary : rac .NeedVerifiedContactAuxiliary ,
934+ ConsentRequiredSocial : rac .ConsentRequiredSocial ,
935+ ConsentRequiredCorporate : rac .ConsentRequiredCorporate ,
936+ ConsentRequiredCorporateAuxiliary : rac .ConsentRequiredCorporateAuxiliary ,
937+ VideoIdentificationVoucherEnabled : rac .VideoIdentificationVoucherEnabled ,
938+ VideoIdentificationAccountingEnabled : rac .VideoIdentificationAccountingEnabled ,
939+ VideoIdentificationPrepaymentRequired : rac .VideoIdentificationPrepaymentRequired ,
932940 AuxiliaryVideoIdentificationVoucherEnabled : rac .AuxiliaryVideoIdentificationVoucherEnabled ,
933941 AuxiliaryVideoIdentificationAccountingEnabled : rac .AuxiliaryVideoIdentificationAccountingEnabled ,
934942 AuxiliaryVideoIdentificationPrepaymentRequired : rac .AuxiliaryVideoIdentificationPrepaymentRequired ,
@@ -939,6 +947,7 @@ func (rac RealmAdminConfiguration) ConvertToDBStruct() configuration.RealmAdminC
939947 AuxiliaryVideoIdentificationAllowedRoles : rac .AuxiliaryVideoIdentificationAllowedRoles ,
940948 AutoIdentificationAllowedRoles : rac .AutoIdentificationAllowedRoles ,
941949 PhysicalIdentificationAllowedRoles : rac .PhysicalIdentificationAllowedRoles ,
950+ AuxiliaryPhysicalIdentificationAllowedRoles : rac .AuxiliaryPhysicalIdentificationAllowedRoles ,
942951 OnboardingStatusEnabled : rac .OnboardingStatusEnabled ,
943952 AutoGeneratedUsernameEnabled : rac .AutoGeneratedUsernameEnabled ,
944953 AutoGeneratedUsernameToggleEnabled : rac .AutoGeneratedUsernameToggleEnabled ,
0 commit comments