maximo tejeda caf32678b5
Some checks failed
dev test / test (push) Failing after 14s
dev test / vulnCheck (push) Has been skipped
dev test / Ci-Lint (push) Has been skipped
ARMONIZE names
2024-12-15 15:18:32 -04:00

18 lines
848 B
Go

package ports
import (
"context"
"git.maximotejeda.com/maximo/cedulados/internal/application/core/domain"
)
type APIPorts interface {
CeduladosByCedula(ctx context.Context, cedula *domain.Cedula) (*domain.Cedulado, error)
CeduladosGetByNameLastName(ctx context.Context, nombre, apellido1, apellido2 string, page int64) (*domain.MultipleResults, error)
CeduladosGetByFTS(ctx context.Context, parametros string, page int64) (*domain.MultipleResults, error)
CeduladosByNameAndLocation(ctx context.Context, nombre, apellido1, apellido2, municipio string, page int64) (*domain.MultipleResults, error)
QueryFotoByCedula(ctx context.Context, cedula *domain.Cedula) (*domain.Foto, error)
QueryFotoById(ctx context.Context, id int64) (*domain.Foto, error)
QueryAllCedulas(ctx context.Context, cedulas []*domain.Cedula) ([]*domain.Foto, error)
}