Kaizen
Browse modulesBookingsbookings/serverTypes

Type Alias: BlockedOccurrence

type BlockedOccurrence = {
  bookingId: string;
  cause: BlockedCause;
  occurrenceAt: Date;
  reason: string;
};

Defined in: server/bookings/series-materializer.ts:97

One occurrence the pass could not claim — surfaced for operator reconciliation (§6.8).

Properties

bookingId

bookingId: string;

Defined in: server/bookings/series-materializer.ts:99

The cancelled exception child holding the (series_id, occurrence_at) slot.


cause

cause: BlockedCause;

Defined in: server/bookings/series-materializer.ts:107

Stable cause code so triage/auto-retry can branch on the reason rather than parse reason prose: collision (an interloper raced the slot — a later pass may succeed) vs policy_denied (a requiresApproval type or deny rule — no retry helps; fix the type/rule) vs outside_availability.


occurrenceAt

occurrenceAt: Date;

Defined in: server/bookings/series-materializer.ts:100


reason

reason: string;

Defined in: server/bookings/series-materializer.ts:109

Human-facing detail (the underlying error message).

On this page