package visamasteractions import "context" type Repository interface { // OwnerInfo returns the order's owner/branch so the handler can run // rbac.GuardOrder without importing cards/visamaster. Deleted orders // are included: their actions stay readable. OwnerInfo(ctx context.Context, orderID int64) (userID *int64, branchID int64, err error) List(ctx context.Context, filter ListFilter) (ListOrderActionDTO, error) // GetByID returns orderID's action actionID - pgx.ErrNoRows if it // belongs to another order. GetByID(ctx context.Context, orderID, actionID int64) (OrderActionDetailDTO, error) }