This commit is contained in:
2026-03-12 02:10:57 +01:00
parent a8e769c73d
commit 3c6dd52d8f
29 changed files with 3323 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package domain
import "context"
// LocationRequest represents a request for location information
type LocationRequest struct {
APIKey string `json:"apikey"`
Name string `json:"name"`
Surname string `json:"surname"`
}
// AccessLevelRequest represents a request for access level information
type AccessLevelRequest struct {
APIKey string `json:"apikey"`
Name string `json:"name"`
Surname string `json:"surname"`
BirthYear int `json:"birthYear"`
}
// APIClient defines the interface for API operations
type APIClient interface {
GetLocation(ctx context.Context, req LocationRequest) ([]byte, error)
GetAccessLevel(ctx context.Context, req AccessLevelRequest) ([]byte, error)
}