PhoenixKitBookings.Schemas.WaitlistEntry (PhoenixKitBookings v0.1.1)

Copy Markdown View Source

A waitlist signup: "email me when date frees up on this service".

Release strategy is notify-all-first-to-book (the simplest of Vagaro's four modes and the fairest without payment pressure): when a cancellation frees capacity on a date, every open entry for that date gets an email and flips to notified — the booking page does the rest.

Summary

Functions

service_uuid is stamped by the context, never cast.

Types

t()

@type t() :: %PhoenixKitBookings.Schemas.WaitlistEntry{
  __meta__: term(),
  customer_email: term(),
  customer_name: term(),
  date: term(),
  inserted_at: term(),
  service_uuid: term(),
  status: term(),
  updated_at: term(),
  uuid: term()
}

Functions

changeset(entry, attrs)

service_uuid is stamped by the context, never cast.

statuses()