Skip to main content

Module entities

Module entities 

Source
Expand description

Normalized core entity contracts for locations, customers, pets, reservations, and records. Core pet-resort entities and operational records.

These structs and enums are the normalized domain facts used by workflow, policy, storage, and source adapters. They should be read as external contracts: every field is either a source-backed fact, a reviewable derived state, or a safety/labor signal used to reduce manual resort work without bypassing manager, medical, behavior, payment, or customer-message gates.

Modules§

approval
Approval record vocabulary for review-gated automation outcomes.
audit
Audit vocabulary for source-backed event trails across automated and staff actions.
care_note
Care-note vocabulary for staff-visible, customer-visible, and internal handoff notes.
reservation
Reservation-facing source vocabulary embedded in core entity records.

Structs§

CareNote
Care note with author, visibility, subject, body, source, and review-sensitive timestamps.
CareNoteBuilder
Use builder syntax to set the inputs and finish with build().
CareProfile
Feeding, medication, handling, and special-care summary used for staff handoffs and briefings.
Customer
Customer/account profile used for reservation ownership, consent-sensitive messaging, and follow-up work.
CustomerBuilder
Use builder syntax to set the inputs and finish with build().
CustomerId
Stable identifier for the customer/account responsible for pets, reservations, messages, and payments.
Document
Document record tying storage, classification, source, scan, redaction, and review status together.
DocumentBuilder
Use builder syntax to set the inputs and finish with build().
DocumentId
Stable identifier for a document artifact used as vaccine, waiver, medical, or incident evidence.
Incident
Incident record used for manager attention, safety follow-up, customer messaging, and audit evidence.
IncidentBuilder
Use builder syntax to set the inputs and finish with build().
IncidentId
Stable identifier for a pet, customer, or operational incident requiring evidence and follow-up.
Location
Resort location record that scopes local capabilities, timezone, brand, and policy references.
LocationId
Stable identifier for a resort location across source imports, policies, reports, and workflows.
LocationPolicyRefs
References to the local policy set that controls automation, vaccine, and play-safety decisions.
ManagerId
Manager identifier used when approvals, overrides, or escalations require accountable leadership.
MedicationInstruction
Medication instruction that must remain explicit for care safety and shift handoff evidence.
MedicationInstructionBuilder
Use builder syntax to set the inputs and finish with build().
Message
Customer/internal message record that tracks subject, channel, draft/reference body, approval, and delivery state.
MessageBuilder
Use builder syntax to set the inputs and finish with build().
MessageId
Stable identifier for a customer or internal message workflow.
Pet
Pet profile carrying identity, species, age, sex, sterilization, temperament, and care facts for safe service decisions.
PetBuilder
Use builder syntax to set the inputs and finish with build().
PetId
Stable identifier for a pet whose care, temperament, vaccine, and reservation facts drive safety decisions.
PortalAccountRef
Link to the customer portal account that supplied or owns source records.
Reservation
Reservation record tying customer, pet, service, status, deposit, add-ons, and safety stops together.
ReservationBuilder
Use builder syntax to set the inputs and finish with build().
StaffId
TemperamentProfile
Temperament evidence used to decide group-play, individual care, and behavior-review routing.
TemperamentProfileBuilder
Use builder syntax to set the inputs and finish with build().
VaccineRecord
Vaccine compliance record linking pet, vaccine name, expiration, proof document, and review status.
VaccineRecordBuilder
Use builder syntax to set the inputs and finish with build().
VaccineRecordId
Stable identifier for a vaccine compliance record tied to a pet and proof document.

Enums§

ActorRef
Actor that performed or is accountable for an audited action.
AddOn
Optional reservation add-ons that affect labor, revenue, care planning, or customer follow-up.
Brand
Brand family used to group multi-site operating records without losing local resort identity.
ContactChannel
Customer contact channel preference or observed route used by draft/message workflows.
DocumentSubject
Entity or workflow subject a document is evidence for.
HardStop
Non-ignorable condition that blocks or routes a reservation before staff or customer action proceeds.
IncidentSubject
Entity or workflow subject affected by an incident.
ManagerIdError
MessageSubject
Entity or workflow subject that a message refers to.
PortalProvider
Portal provider that owns the account or operational record.
ServiceKind
Resort service line used for labor planning, capacity, policy, upsell, and workflow routing.
Sex
Recorded pet sex when the source system supplies it.
SpayNeuterStatus
Spay/neuter status used by group-play eligibility, safety review, and policy gating.
Species
Pet species category used by boarding/daycare/play policies and labor planning.
StaffIdError

Type Aliases§

Deposit
Shared deposit type used across the entities boundary.
PaymentStatus
Shared payment status type used across the entities boundary.