diff --git a/src/Core/AdminConsole/OrganizationFeatures/Organizations/Interfaces/IInitPendingOrganizationCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/Organizations/Interfaces/IInitPendingOrganizationCommand.cs index 8c7e20c62b..761735f205 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/Organizations/Interfaces/IInitPendingOrganizationCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/Organizations/Interfaces/IInitPendingOrganizationCommand.cs @@ -1,6 +1,8 @@ using Bit.Core.AdminConsole.OrganizationFeatures.Organizations; using Bit.Core.AdminConsole.Utilities.v2.Results; using Bit.Core.Entities; +using Microsoft.Data.SqlClient; + namespace Bit.Core.OrganizationFeatures.OrganizationUsers.Interfaces; public interface IInitPendingOrganizationCommand @@ -20,3 +22,10 @@ public interface IInitPendingOrganizationCommand /// A CommandResult indicating success or specific validation errors. Task InitPendingOrganizationVNextAsync(InitPendingOrganizationRequest request); } + +/// +/// Represents a database update action to be executed during organization initialization. +/// +public delegate Task OrganizationInitializationUpdateAction(SqlConnection? connection = null, + SqlTransaction? transaction = null, + object? context = null);