namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Management; public record ListApiMethodsCommand; public record GetApiMethodCommand(int ApiMethodId); /// Flow Debugger (design 2026-09-05 §5.2): trace every production call to this method. Additive; defaults to off. public record CreateApiMethodCommand(string Name, string Script, int TimeoutSeconds, string? ParameterDefinitions, string? ReturnDefinition, bool TraceAllCalls = false); /// Flow Debugger (design 2026-09-05 §5.2): null leaves the stored value unchanged so an older CLI never resets it. public record UpdateApiMethodCommand(int ApiMethodId, string Script, int TimeoutSeconds, string? ParameterDefinitions, string? ReturnDefinition, bool? TraceAllCalls = null); public record DeleteApiMethodCommand(int ApiMethodId);