package processor

import (
	"apskel-pos-be/internal/entities"
	"context"
	"github.com/google/uuid"
)

type OutletRepository interface {
	Create(ctx context.Context, outlet *entities.Outlet) error
	GetByID(ctx context.Context, id uuid.UUID) (*entities.Outlet, error)
	GetWithOrders(ctx context.Context, id uuid.UUID) (*entities.Outlet, error)
	GetByOrganizationID(ctx context.Context, organizationID uuid.UUID) ([]*entities.Outlet, error)
	GetByOrganizationIDWithPagination(ctx context.Context, organizationID uuid.UUID, limit, offset int) ([]*entities.Outlet, int64, error)
	Update(ctx context.Context, outlet *entities.Outlet) error
	Delete(ctx context.Context, id uuid.UUID) error
	UpdateActiveStatus(ctx context.Context, id uuid.UUID, isActive bool) error
	List(ctx context.Context, filters map[string]interface{}, limit, offset int) ([]*entities.Outlet, int64, error)
	Count(ctx context.Context, filters map[string]interface{}) (int64, error)
}
