Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
757 changes: 0 additions & 757 deletions src/verticals/hospitality/seed.ts

This file was deleted.

347 changes: 347 additions & 0 deletions src/verticals/hospitality/seed/bookings.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,347 @@
import type { BookingInput } from "@/modules/bookings";

import { at, BUSINESS_DAY, eur } from "./shared";

const base = { businessDay: BUSINESS_DAY, staffIds: [], lines: [] };

export const bookings: BookingInput[] = [
{
...base,
id: "R-1041",
status: "in_progress",
startMin: at(19),
endMin: at(20, 30),
resourceIds: ["S2"],
staffIds: ["staff-iker"],
customerId: "C-iglesias",
partySize: 2,
origin: "online",
channel: "web",
staffNote: "Asked for the bill",
tags: ["Regular"],
},
{
...base,
id: "R-1042",
status: "in_progress",
startMin: at(19),
endMin: at(20, 45),
resourceIds: ["T6"],
partySize: 4,
origin: "online",
channel: "web",
tags: [],
contactName: "Mora",
},
{
...base,
id: "R-1043",
status: "in_progress",
startMin: at(19, 15),
endMin: at(21),
resourceIds: ["S3"],
staffIds: ["staff-iker"],
customerId: "C-ortega",
partySize: 4,
origin: "staff",
channel: "phone",
guestNote: "One guest is coeliac",
tags: ["Gluten-free"],
},
{
...base,
id: "R-1044",
status: "in_progress",
startMin: at(19, 30),
endMin: at(21),
resourceIds: ["T2"],
partySize: 2,
origin: "online",
channel: "web",
guestNote: "Candle on the dessert",
tags: ["Gluten-free", "Anniversary"],
contactName: "Valdés",
},
{
...base,
id: "R-1045",
status: "in_progress",
startMin: at(20),
endMin: at(21, 45),
resourceIds: ["T7"],
partySize: 3,
origin: "online",
channel: "web",
tags: [],
contactName: "Sanz",
},
{
...base,
id: "R-1046",
status: "confirmed",
startMin: at(20, 15),
endMin: at(21, 45),
resourceIds: ["T8"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Castaño",
},
{
...base,
id: "R-1047",
status: "in_progress",
startMin: at(20, 20),
endMin: at(21, 50),
resourceIds: ["T1"],
partySize: 2,
origin: "walk_in",
tags: [],
},
{
...base,
id: "R-1048",
status: "confirmed",
deposit: { amount: eur(4000), status: "captured" },
startMin: at(20, 30),
endMin: at(22, 15),
resourceIds: ["S5"],
customerId: "C-bravo",
partySize: 4,
origin: "staff",
channel: "phone",
tags: ["Lactose-free"],
},
{
...base,
id: "R-1049",
status: "confirmed",
startMin: at(20, 45),
endMin: at(22, 15),
resourceIds: ["B1"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Peña",
},
{
...base,
id: "R-1050",
status: "confirmed",
startMin: at(20, 45),
endMin: at(22, 30),
resourceIds: ["S7"],
partySize: 4,
origin: "online",
channel: "web",
guestNote: "Bring the cake out with the coffees",
tags: ["Birthday cake"],
contactName: "Cano",
},
{
...base,
id: "R-1051",
status: "confirmed",
startMin: at(21),
endMin: at(22, 45),
resourceIds: ["S1"],
partySize: 4,
origin: "online",
channel: "web",
tags: ["Regular"],
contactName: "Ruiz",
},
{
...base,
id: "R-1052",
status: "confirmed",
startMin: at(21),
endMin: at(23),
resourceIds: ["S6"],
partySize: 6,
origin: "online",
channel: "web",
guestNote: "Needs space for a stroller",
tags: ["Stroller"],
contactName: "Soto",
},
{
...base,
id: "R-1053",
status: "confirmed",
startMin: at(21),
endMin: at(22, 30),
resourceIds: ["T4"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Ferrer",
},
{
...base,
id: "R-1054",
status: "confirmed",
startMin: at(21),
endMin: at(22, 30),
resourceIds: ["T5"],
partySize: 2,
origin: "assistant",
channel: "web",
tags: ["Gluten-free"],
contactName: "Lozano",
},
{
...base,
id: "R-1055",
status: "confirmed",
startMin: at(21, 15),
endMin: at(22, 45),
resourceIds: [],
partySize: 4,
origin: "staff",
channel: "phone",
guestNote: "Prefers a quiet corner",
tags: ["Quiet table"],
contactName: "Rey",
},
{
...base,
id: "R-1056",
status: "confirmed",
startMin: at(21, 15),
endMin: at(23),
resourceIds: ["T3"],
partySize: 4,
origin: "online",
channel: "web",
tags: [],
contactName: "Cabrera",
},
{
...base,
id: "R-1057",
status: "pending",
startMin: at(21, 30),
endMin: at(23),
resourceIds: ["S4"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Marín",
},
{
...base,
id: "R-1058",
status: "confirmed",
startMin: at(22),
endMin: at(23, 30),
resourceIds: ["T7"],
partySize: 3,
origin: "online",
channel: "web",
tags: [],
contactName: "Blanco",
},
{
...base,
id: "R-1059",
status: "awaiting_payment",
deposit: { amount: eur(20_000), status: "due" },
startMin: at(22),
endMin: at(24),
resourceIds: [],
customerId: "C-calvo",
partySize: 8,
lines: [{ catalogItemId: "menu-tasting", qty: 8, durationMin: 120, unitPrice: eur(5200) }],
origin: "staff",
channel: "phone",
guestNote: "Asked for a set menu for the whole table",
tags: ["Company dinner"],
ext: { type: "event", occasion: "Company dinner" },
},
{
...base,
id: "R-1060",
status: "confirmed",
startMin: at(22, 30),
endMin: at(24),
resourceIds: ["S2"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Lara",
},
{
...base,
id: "R-1061",
status: "completed",
startMin: at(19),
endMin: at(20, 15),
resourceIds: ["B2"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Navarro",
},
{
...base,
id: "R-1062",
status: "cancelled",
startMin: at(20),
endMin: at(21, 30),
resourceIds: [],
partySize: 2,
origin: "online",
channel: "web",
staffNote: "Cancelled by the guest this afternoon",
tags: [],
contactName: "Vidal",
},
{
...base,
id: "R-1063",
status: "no_show",
startMin: at(19, 45),
endMin: at(21, 15),
resourceIds: [],
partySize: 3,
origin: "staff",
channel: "phone",
tags: [],
contactName: "Herrera",
},
{
...base,
businessDay: "2026-11-02",
id: "R-1101",
status: "confirmed",
startMin: at(20),
endMin: at(21, 30),
resourceIds: ["S8"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Aranda",
},
{
...base,
businessDay: "2026-11-02",
id: "R-1102",
status: "confirmed",
startMin: at(21),
endMin: at(22, 30),
resourceIds: ["B3"],
partySize: 2,
origin: "online",
channel: "web",
tags: [],
contactName: "Pons",
},
];
Loading
Loading