package service

import (
	"apskel-pos-be/internal/models"
	"context"

	"github.com/google/uuid"
)

type UnitProcessor interface {
	CreateUnit(ctx context.Context, req *models.CreateUnitRequest) (*models.UnitResponse, error)
	UpdateUnit(ctx context.Context, id uuid.UUID, req *models.UpdateUnitRequest) (*models.UnitResponse, error)
	DeleteUnit(ctx context.Context, id uuid.UUID) error
	GetUnitByID(ctx context.Context, id uuid.UUID) (*models.UnitResponse, error)
	ListUnits(ctx context.Context, organizationID uuid.UUID, outletID *uuid.UUID, page, limit int, search string) (*models.PaginatedResponse[models.UnitResponse], error)
}
