namespace FrameworkDAL.DTO.EIPConversation { /// /// Result of IEIPCapabilityEngine.ExecuteCapabilityAsync. RequiresPause signals that /// the flow must stop and wait for the next inbound message (e.g. an OTP prompt was /// just sent, or a wrong OTP needs to be re-entered) instead of advancing to NextStepCode. /// public class EIPCapabilityExecutionResultDTO { public string Message { get; set; } = string.Empty; public bool RequiresPause { get; set; } public static EIPCapabilityExecutionResultDTO Completed(string message) => new() { Message = message, RequiresPause = false }; public static EIPCapabilityExecutionResultDTO Pause(string message) => new() { Message = message, RequiresPause = true }; } }