package processor

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

type OrganizationRepository interface {
	Create(ctx context.Context, org *entities.Organization) error
	GetByID(ctx context.Context, id uuid.UUID) (*entities.Organization, error)
	GetWithOutlets(ctx context.Context, id uuid.UUID) (*entities.Organization, error)
	GetByPlanType(ctx context.Context, planType string) ([]*entities.Organization, error)
	UpdatePlanType(ctx context.Context, id uuid.UUID, planType string) error
	Update(ctx context.Context, org *entities.Organization) error
	Delete(ctx context.Context, id uuid.UUID) error
	List(ctx context.Context, filters map[string]interface{}, limit, offset int) ([]*entities.Organization, int64, error)
	Count(ctx context.Context, filters map[string]interface{}) (int64, error)
	GetByEmail(ctx context.Context, email string) (*entities.Organization, error)
}
