using TeleWave.Domain.Programming;

namespace TeleWave.Application.Programming.Templates.Junctions;

public sealed record JunctionElementDto(
    Guid Id,
    int Position,
    JunctionElementKind Kind,
    Guid? GroupId,
    string? GroupName,
    Guid? BumperTemplateId,
    string? BumperTemplateName,
    JunctionAmountMode AmountMode,
    int AmountValue,
    bool IsRequired,
    JunctionConditions? Conditions
);

public sealed record JunctionTemplateDto(
    Guid Id,
    string Name,
    IReadOnlyList<JunctionElementDto> Elements
);
