Variable: dayOfMonthSchema
const dayOfMonthSchema: ZodUnion<readonly [ZodNumber, ZodLiteral<"last">]>;Defined in: shared/insights/schedule.ts:134
Day of the month a monthly schedule fires. A NUMBER is capped at 28 — not 31 —
on purpose: a cron 0 9 31 * * silently never fires in February (and skips
the 30-day months), so allowing 29–31 would let the dialog build a schedule
that looks monthly but drops deliveries. Callers wanting the month's end pass
the literal "last", which the cron translation renders as the L token
(understood by BullMQ's cron-parser) so it fires on the true last day every
month.