Interface Documentation
Overview
Core Interfaces
IAbsence
interface IAbsence extends IBase {
note?: string; // Optional description or notes
start: string; // Start date/time (ISO string)
end: string; // End date/time (ISO string)
entireBusiness?: boolean; // Affects entire business if true
memberIds?: string[]; // Array of member ID strings
members?: IMember[]; // Populated member objects
locations?: ILocation[]; // Affected locations
type: AbsenceTypeEnum; // Type of absence
timeZone: string; // Timezone identifier
meta?: IMeta; // Metadata information
}IAbsenceRepository
Data Transfer Objects (DTOs)
AbsenceDto
AbsencePaginationDto
Enumerations
AbsenceTypeEnum
Use Case Interfaces
CreateAbsenceUseCaseParams
GetAbsenceUseCaseParams
GetPagedAbsencesUseCaseParams
UpdateAbsenceUseCaseParams
DeleteAbsenceUseCaseParams
Domain Value Objects
AbsenceSearchCriteria
ISlot
Command and Query Interfaces
Commands
CreateAbsenceCommand
UpdateAbsenceCommand
DeleteAbsenceCommand
Queries
GetAbsenceByIdQuery
GetPagedAbsencesQuery
Message Interfaces
Event Messages
AbsenceCreatedMessage
AbsenceUpdatedMessage
AbsenceDeletedMessage
WebSocket Messages
AbsenceCreatedWsMessage
AbsenceUpdatedWsMessage
AbsenceDeletedWsMessage
Cache Interfaces
AbsenceCacheKeys
Repository Filter Interfaces
GetBusySlotsWithFilterParams
Context Interfaces
TenantActorContext
Validation and Error Interfaces
AbsenceDomainError
AbsenceErrorCode
Integration Interfaces
IMessageQueueService
IWebSocketGateway
Usage Guidelines
Interface Evolution
Last updated