@withpotter/waitlist — module reference
A support module — it mounts no HTTP routes of its own but contributes the internal building blocks below. See the package internal architecture for how the layers fit together.
Internals
Entities
Sequelize models owned by this module.
WaitlistEntry — table waitlist_entries
| Field | Type |
|---|---|
id | string |
tenantId | string |
tenant | Tenant |
memberId | string | null |
member | Member |
customerEmail | string |
customerName | string | null |
customerPhone | string | null |
contentId | string | null |
content | Content |
resourceId | string | null |
requestedDate | Date |
requestedStartTime | string | null |
requestedEndTime | string | null |
timezone | string |
status | WaitlistStatus |
priority | WaitlistPriority |
position | number |
partySize | number |
notifiedAt | Date | null |
offerExpiresAt | Date | null |
offeredDate | Date | null |
offeredStartTime | string | null |
offeredEndTime | string | null |
customerNote | string | null |
internalNote | string | null |
metadata | WaitlistMetadata |
createdAt | Date |
updatedAt | Date |
convertedAt | Date | null |
cancelledAt | Date | null |
Repositories
Data-access classes wrapping the entities.
WaitlistRepository
findByTenant · updateByTenant · getNextPosition · getActiveQueue · getNextToOffer · findExpiredOffers · reorderQueue · findByMember · findByEmail · list · getStats
Generated from the module’s source. Routes are relative to the engine root
(default http://localhost:3001). For full request/response schemas use the live
OpenAPI document.