package store

import (
	"context"

	"github.com/pingcap-inc/it-automation/internal/sync-google-email/model"
)

type DepartmentStore interface {
	GetDepartmentByAnyId(s string) (*model.LarkDepartment, error)
	SaveDepartments(departments []*model.LarkDepartment) error
	Create(_ context.Context, department *model.LarkDepartment) error
	ListAll(ctx context.Context) ([]model.LarkDepartment, error)
	DeleteById(_ context.Context, id uint64) error
	Sync(_ context.Context, dptCreate []model.LarkDepartment, dptUpdate []model.LarkDepartment, dptDelete []string) error
}
