272 lines
6.5 KiB
JavaScript
272 lines
6.5 KiB
JavaScript
export const V2DemoFixture = {
|
|
tenant: {
|
|
id: '6d5fa42c-1f38-49be-8895-8aeb0e731001',
|
|
slug: 'legendary-event-staffing',
|
|
name: 'Legendary Event Staffing and Entertainment',
|
|
},
|
|
users: {
|
|
businessOwner: {
|
|
id: process.env.V2_DEMO_OWNER_UID || 'dvpWnaBjT6UksS5lo04hfMTyq1q1',
|
|
email: process.env.V2_DEMO_OWNER_EMAIL || 'legendary@krowd.com',
|
|
displayName: 'Legendary Demo Owner',
|
|
},
|
|
operationsManager: {
|
|
id: 'demo-ops-manager',
|
|
email: 'ops+v2@krowd.com',
|
|
displayName: 'Wil Ops Lead',
|
|
},
|
|
vendorManager: {
|
|
id: 'demo-vendor-manager',
|
|
email: 'vendor+v2@krowd.com',
|
|
displayName: 'Vendor Manager',
|
|
},
|
|
staffAna: {
|
|
id: process.env.V2_DEMO_STAFF_UID || 'demo-staff-ana',
|
|
email: process.env.V2_DEMO_STAFF_EMAIL || 'ana.barista+v2@krowd.com',
|
|
displayName: 'Ana Barista',
|
|
},
|
|
},
|
|
business: {
|
|
id: '14f4fcfb-f21f-4ba9-9328-90f794a56001',
|
|
slug: 'google-mv-cafes',
|
|
name: 'Google Mountain View Cafes',
|
|
},
|
|
vendor: {
|
|
id: '80f8c8d3-9da8-4892-908f-4d4982af7001',
|
|
slug: 'legendary-pool-a',
|
|
name: 'Legendary Staffing Pool A',
|
|
},
|
|
costCenters: {
|
|
cafeOps: {
|
|
id: '31db54dd-9b32-4504-9056-9c71a9f73001',
|
|
name: 'Cafe Operations',
|
|
},
|
|
},
|
|
roles: {
|
|
barista: {
|
|
id: '67c5010e-85f0-4f6b-99b7-167c9afdf001',
|
|
code: 'BARISTA',
|
|
name: 'Barista',
|
|
},
|
|
captain: {
|
|
id: '67c5010e-85f0-4f6b-99b7-167c9afdf002',
|
|
code: 'CAPTAIN',
|
|
name: 'Captain',
|
|
},
|
|
},
|
|
staff: {
|
|
ana: {
|
|
id: '4b7dff1a-1856-4d59-b450-5a6736461001',
|
|
fullName: 'Ana Barista',
|
|
email: 'ana.barista+v2@krowd.com',
|
|
phone: '+15557654321',
|
|
primaryRole: 'BARISTA',
|
|
},
|
|
},
|
|
workforce: {
|
|
ana: {
|
|
id: '4cc1d34a-87c3-4426-8ee0-a24c8bcfa001',
|
|
workforceNumber: 'WF-V2-ANA-001',
|
|
},
|
|
},
|
|
clockPoint: {
|
|
id: 'efb80ccf-3361-49c8-bc74-ff8cd4d2e001',
|
|
label: 'Google MV Cafe Clock Point',
|
|
address: '1600 Amphitheatre Pkwy, Mountain View, CA',
|
|
latitude: 37.4221,
|
|
longitude: -122.0841,
|
|
geofenceRadiusMeters: 120,
|
|
nfcTagUid: 'NFC-DEMO-ANA-001',
|
|
},
|
|
hubManagers: {
|
|
opsLead: {
|
|
id: '3f2dfd17-e6b4-4fe4-9fea-3c91c7ca8001',
|
|
},
|
|
},
|
|
availability: {
|
|
monday: {
|
|
id: '887bc357-c3e0-4b2c-a174-bf27d6902001',
|
|
},
|
|
friday: {
|
|
id: '887bc357-c3e0-4b2c-a174-bf27d6902002',
|
|
},
|
|
},
|
|
benefits: {
|
|
commuter: {
|
|
id: 'dbd28438-66b0-452f-a5fc-dd0f3ea61001',
|
|
title: 'Commuter Support',
|
|
},
|
|
},
|
|
orders: {
|
|
open: {
|
|
id: 'b6132d7a-45c3-4879-b349-46b2fd518001',
|
|
number: 'ORD-V2-OPEN-1001',
|
|
title: 'Morning cafe staffing',
|
|
},
|
|
completed: {
|
|
id: 'b6132d7a-45c3-4879-b349-46b2fd518002',
|
|
number: 'ORD-V2-COMP-1002',
|
|
title: 'Completed catering shift',
|
|
},
|
|
active: {
|
|
id: 'b6132d7a-45c3-4879-b349-46b2fd518003',
|
|
number: 'ORD-V2-ACT-1003',
|
|
title: 'Live staffing operations',
|
|
},
|
|
},
|
|
shifts: {
|
|
open: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954001',
|
|
code: 'SHIFT-V2-OPEN-1',
|
|
title: 'Open breakfast shift',
|
|
},
|
|
completed: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954002',
|
|
code: 'SHIFT-V2-COMP-1',
|
|
title: 'Completed catering shift',
|
|
},
|
|
available: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954003',
|
|
code: 'SHIFT-V2-OPEN-2',
|
|
title: 'Available lunch shift',
|
|
},
|
|
assigned: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954004',
|
|
code: 'SHIFT-V2-ASSIGNED-1',
|
|
title: 'Assigned espresso shift',
|
|
},
|
|
cancelled: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954005',
|
|
code: 'SHIFT-V2-CANCELLED-1',
|
|
title: 'Cancelled hospitality shift',
|
|
},
|
|
noShow: {
|
|
id: '6e7dadad-99e4-45bb-b0da-7bb617954006',
|
|
code: 'SHIFT-V2-NOSHOW-1',
|
|
title: 'No-show breakfast shift',
|
|
},
|
|
},
|
|
shiftRoles: {
|
|
openBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b001',
|
|
},
|
|
completedBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b002',
|
|
},
|
|
availableBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b003',
|
|
},
|
|
assignedBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b004',
|
|
},
|
|
cancelledBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b005',
|
|
},
|
|
noShowBarista: {
|
|
id: '4dd35b2b-4aaf-4c28-a91f-7bda05e2b006',
|
|
},
|
|
},
|
|
applications: {
|
|
openAna: {
|
|
id: 'd70d6441-6d0c-4fdb-9a29-c9d9e0c34001',
|
|
},
|
|
},
|
|
assignments: {
|
|
completedAna: {
|
|
id: 'f1d3f738-a132-4863-b222-4f9cb25aa001',
|
|
},
|
|
assignedAna: {
|
|
id: 'f1d3f738-a132-4863-b222-4f9cb25aa002',
|
|
},
|
|
cancelledAna: {
|
|
id: 'f1d3f738-a132-4863-b222-4f9cb25aa003',
|
|
},
|
|
noShowAna: {
|
|
id: 'f1d3f738-a132-4863-b222-4f9cb25aa004',
|
|
},
|
|
},
|
|
timesheets: {
|
|
completedAna: {
|
|
id: '41ea4057-0c55-4907-b525-07315b2b6001',
|
|
},
|
|
},
|
|
invoices: {
|
|
completed: {
|
|
id: '1455e15b-77f9-4c66-b2a8-dce35f7ac001',
|
|
number: 'INV-V2-2001',
|
|
},
|
|
},
|
|
recentPayments: {
|
|
completed: {
|
|
id: 'be6f736b-e945-4676-a73d-2912c7575001',
|
|
},
|
|
},
|
|
favorites: {
|
|
ana: {
|
|
id: 'ba5cb8fa-0be9-4ef4-a9fb-e60a8a48e001',
|
|
},
|
|
},
|
|
reviews: {
|
|
anaCompleted: {
|
|
id: '9b6bc737-fd69-4855-b425-6f0c2c4fd001',
|
|
},
|
|
},
|
|
documents: {
|
|
governmentId: {
|
|
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995000',
|
|
name: 'Government ID',
|
|
},
|
|
foodSafety: {
|
|
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995001',
|
|
name: 'Food Handler Card',
|
|
},
|
|
attireBlackShirt: {
|
|
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995002',
|
|
name: 'Black Shirt',
|
|
},
|
|
taxFormI9: {
|
|
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995003',
|
|
name: 'I-9',
|
|
},
|
|
taxFormW4: {
|
|
id: 'e6fd0183-34d9-4c23-9a9a-bf98da995004',
|
|
name: 'W-4',
|
|
},
|
|
},
|
|
staffDocuments: {
|
|
governmentId: {
|
|
id: '4b157236-a4b0-4c44-b199-7d4ea1f95000',
|
|
},
|
|
foodSafety: {
|
|
id: '4b157236-a4b0-4c44-b199-7d4ea1f95001',
|
|
},
|
|
attireBlackShirt: {
|
|
id: '4b157236-a4b0-4c44-b199-7d4ea1f95002',
|
|
},
|
|
taxFormI9: {
|
|
id: '4b157236-a4b0-4c44-b199-7d4ea1f95003',
|
|
},
|
|
taxFormW4: {
|
|
id: '4b157236-a4b0-4c44-b199-7d4ea1f95004',
|
|
},
|
|
},
|
|
certificates: {
|
|
foodSafety: {
|
|
id: 'df6452dc-4ec7-4d54-876d-26bf8ce5b001',
|
|
},
|
|
},
|
|
emergencyContacts: {
|
|
primary: {
|
|
id: '8bb1e0c0-59bb-4ce7-8f0f-27674e0b2001',
|
|
},
|
|
},
|
|
accounts: {
|
|
businessPrimary: {
|
|
id: '5d98e0ba-8e89-4ffb-aafd-df6bbe2fe001',
|
|
},
|
|
staffPrimary: {
|
|
id: '5d98e0ba-8e89-4ffb-aafd-df6bbe2fe002',
|
|
},
|
|
},
|
|
};
|