diff --git a/AGENTS.md b/AGENTS.md index ea83d679c..faee58db2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,6 +21,7 @@ bun run e2e # Playwright E2E tests (mock backend) e2e/stack/up.sh # Local PlaceOS stack in Docker (https://localhost:9543) bun run e2e:local # Playwright E2E tests against the local stack e2e/stack/down.sh # Stop the stack (--volumes to remove its data) +bun config/sync-ui-mocks.ts # Copy the mock zones, rooms and users from ../user-interfaces # Linting bun run lint # ESLint diff --git a/config/sync-ui-mocks.ts b/config/sync-ui-mocks.ts new file mode 100644 index 000000000..1e9537aa5 --- /dev/null +++ b/config/sync-ui-mocks.ts @@ -0,0 +1,255 @@ +/** + * Copies the mock zones, rooms and staff of the user-interfaces repo into + * `src/app/mocks/data/ui-mocks.ts`, so the backoffice demo shows the same + * organisation as the other PlaceOS apps. + * + * Usage: bun config/sync-ui-mocks.ts [user-interfaces path] [git ref] + * + * - The path defaults to `user-interfaces` next to the backoffice checkout + * - The ref defaults to `origin/develop`. Run `git fetch` there first + * - user-interfaces must have its `node_modules` (`bun install`) + * + * The UI mocks make their data with a seeded random function, so this script + * runs their generators instead of copying their source. It exports the ref + * with `git archive` into a temp folder, so the checkout does not change. + */ +import { $ } from 'bun'; +import { existsSync } from 'node:fs'; +import { mkdtemp, readFile, rm, symlink, writeFile } from 'node:fs/promises'; +import { tmpdir } from 'node:os'; +import { dirname, join, resolve } from 'node:path'; + +type Raw = Record; + +/** Output of the generator that runs in the UI repo */ +interface UiData { + orgs: Raw[]; + regions: Raw[]; + buildings: Raw[]; + levels: Raw[]; + spaces: Raw[]; + staff: Raw[]; + active_user: Raw; +} + +const ROOT = resolve(import.meta.dir, '..'); +const OUTPUT = join(ROOT, 'src/app/mocks/data/ui-mocks.ts'); + +/** Folder that holds the main checkout. Works from a git worktree too */ +async function checkoutParent() { + const common_dir = + await $`git -C ${ROOT} rev-parse --path-format=absolute --git-common-dir`.text(); + return dirname(dirname(common_dir.trim())); +} + +const UI_ROOT = resolve( + process.argv[2] || join(await checkoutParent(), 'user-interfaces'), +); +const REF = process.argv[3] || 'origin/develop'; + +/** Copies `generateMockSpace` from `@placeos/events`, without the rest of + * that library. The library loads Angular components, which Bun can not + * run. Keeping the real function keeps the random sequence the same */ +async function eventsStub(dir: string) { + const source = await readFile( + join(dir, 'libs/events/src/lib/space.utilities.ts'), + 'utf8', + ); + const users = await readFile( + join(dir, 'libs/users/src/lib/user.utilities.ts'), + 'utf8', + ); + const generator = source.match(/^let SPACE_COUNT[\s\S]*?^}$/m)?.[0]; + const domain = users.match(/^export let USER_DOMAIN = .*$/m)?.[0]; + if (!generator || !domain) { + throw new Error('generateMockSpace or USER_DOMAIN not found'); + } + return [ + `import { HashMap, predictableRandomInt } from '@placeos/common';`, + domain, + generator, + ].join('\n'); +} + +/** Browser globals that the UI libraries use when they load */ +const SHIM = ` +import '@angular/compiler'; +import { JSDOM } from 'jsdom'; +const dom = new JSDOM('', { url: 'http://localhost/' }); +for (const key of ['window', 'document', 'navigator', 'localStorage', 'sessionStorage', 'location', 'HTMLElement', 'Element', 'Node', 'Event', 'CustomEvent', 'StorageEvent', 'MutationObserver', 'getComputedStyle']) { + if (!(key in globalThis)) globalThis[key] = key === 'window' ? dom.window : dom.window[key]; +} +`; + +/** Loads the mocks like the apps do (the index first), so the seeded + * random values come out in the same order */ +const GENERATOR = ` +import './libs/mocks/src/index'; +import { MOCK_BUILDINGS, MOCK_LEVELS, MOCK_ORGS, MOCK_REGIONS } from './libs/mocks/src/lib/api/zone.data'; +import { MOCK_SPACES } from './libs/mocks/src/lib/api/spaces.data'; +import { ACTIVE_USER, MOCK_STAFF } from './libs/mocks/src/lib/api/users.data'; +await Bun.write(process.argv[2], JSON.stringify({ + orgs: MOCK_ORGS, regions: MOCK_REGIONS, buildings: MOCK_BUILDINGS, levels: MOCK_LEVELS, + spaces: MOCK_SPACES, staff: MOCK_STAFF, active_user: ACTIVE_USER, +})); +// The mocks start timers, so stop them +process.exit(0); +`; + +/** Runs the UI mock generators and returns their data */ +async function generate(dir: string): Promise { + await $`git -C ${UI_ROOT} archive ${REF} libs tsconfig.base.json | tar -x -C ${dir}`; + await symlink(join(UI_ROOT, 'node_modules'), join(dir, 'node_modules')); + // Made by a postinstall step, so it is not in git + const version = join(dir, 'libs/common/src/lib/version.ts'); + if (!existsSync(version)) { + await writeFile( + version, + `export const VERSION = { raw: 'mock', hash: '', version: '', time: 0 };`, + ); + } + const base = JSON.parse( + await readFile(join(dir, 'tsconfig.base.json'), 'utf8'), + ); + base.compilerOptions.paths['@placeos/events'] = ['events-stub.ts']; + await writeFile(join(dir, 'tsconfig.json'), JSON.stringify(base)); + await writeFile(join(dir, 'events-stub.ts'), await eventsStub(dir)); + await writeFile(join(dir, 'shim.ts'), SHIM); + await writeFile(join(dir, 'generate.ts'), GENERATOR); + const output = join(dir, 'output.json'); + await $`bun --preload ./shim.ts generate.ts ${output}`.cwd(dir).quiet(); + return JSON.parse(await readFile(output, 'utf8')); +} + +/** Copies the listed fields that have a value */ +function pick(item: Raw, keys: string[]): Raw { + const out: Raw = {}; + for (const key of keys) { + if (item[key] !== undefined && item[key] !== '') out[key] = item[key]; + } + return out; +} + +/** Engine zone fields. `settings` becomes a settings document in the mocks */ +function toZone(zone: Raw): Raw { + const coordinates = (zone.address as Raw | undefined)?.coordinates as + | { lat: number; lng: number } + | undefined; + return { + ...pick(zone, [ + 'id', + 'name', + 'display_name', + 'description', + 'tags', + 'parent_id', + 'code', + 'type', + 'count', + 'capacity', + 'map_id', + 'location', + ]), + ...(coordinates + ? { location: `${coordinates.lat},${coordinates.lng}` } + : {}), + triggers: [], + settings: zone.settings || {}, + }; +} + +/** + * Engine system fields of a UI room. The UI rooms point to levels by floor + * index (`bld-01_lvl-0`), but the level zones use the level code + * (`bld-01_lvl-G`). IDs that are not zones are changed to the level at that + * index of the building, so the level pages list their rooms. + * The UI room emails have two `@` (`test.space.1@@place.tech`), which the + * system form rejects, so one is removed. + */ +function toSystem(space: Raw, data: UiData, zone_ids: Set): Raw { + const building = data.buildings.find(({ id }) => id === space.building_id); + const levels = (building?.levels as string[] | undefined) || []; + const zones = (space.zones as string[]).map((id) => { + if (zone_ids.has(id)) return id; + const level = `${space.building_id}_${levels[space.floor_number as number]}`; + if (!zone_ids.has(level)) + throw new Error(`No zone for ${id} of ${space.id}`); + return level; + }); + return { + ...pick(space, [ + 'id', + 'name', + 'display_name', + 'email', + 'capacity', + 'features', + 'bookable', + 'map_id', + 'images', + 'type', + ]), + email: `${space.email || ''}`.replace(/@+/, '@') || undefined, + code: space.room_code, + zones, + modules: [], + }; +} + +/** Engine user fields of a UI staff member */ +function toUser(staff: Raw, active_user: Raw): Raw { + const extension = (staff.extension_data as Raw | undefined) || {}; + return { + ...pick(staff, [ + 'id', + 'name', + 'email', + 'first_name', + 'last_name', + 'phone', + 'department', + 'groups', + ]), + staff_id: extension.employee_id, + image: staff.avatar, + sys_admin: staff.email === active_user.email && !!active_user.sys_admin, + }; +} + +const dir = await mkdtemp(join(tmpdir(), 'ui-mocks-')); +try { + const commit = ( + await $`git -C ${UI_ROOT} rev-parse --short ${REF}`.text() + ).trim(); + const data = await generate(dir); + const zones = [ + ...data.orgs, + ...data.regions, + ...data.buildings, + ...data.levels, + ].map(toZone); + const zone_ids = new Set(zones.map(({ id }) => id as string)); + const current = data.staff.find( + ({ email }) => email === data.active_user.email, + ); + if (!current) throw new Error('Active user is not a staff member'); + const snapshot = { + zones, + systems: data.spaces.map((space) => toSystem(space, data, zone_ids)), + users: data.staff.map((staff) => toUser(staff, data.active_user)), + /** UI apps sign in as this staff member */ + current_user_id: current.id, + }; + const source = [ + `// Made by config/sync-ui-mocks.ts from user-interfaces ${REF} (${commit}).`, + `// Do not edit. Run the script again to update it.`, + `export const UI_MOCKS = ${JSON.stringify(snapshot)};`, + '', + ].join('\n'); + await writeFile(OUTPUT, source); + await $`bunx prettier --write ${OUTPUT}`.cwd(ROOT).quiet(); + const counts = `${zones.length} zones, ${snapshot.systems.length} systems, ${snapshot.users.length} users`; + console.log(`Wrote ${counts} from ${REF} (${commit})`); +} finally { + await rm(dir, { recursive: true, force: true }); +} diff --git a/e2e/README.md b/e2e/README.md index 3f6cea55b..9f0638899 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -14,6 +14,11 @@ storage, so a change stays after `page.reload()` in the same test. A request that has no mock handler fails with a 404 and writes `[mock] No handler for ` to the browser console. +The mock zones, rooms and users are the same as in the user-interfaces mocks. +They are in `src/app/mocks/data/ui-mocks.ts`, which +`bun config/sync-ui-mocks.ts` makes. When you run the script again, the names +and IDs can change, so update the tests that use them. + ## Run the tests Install the browsers one time with `bunx playwright install`. diff --git a/e2e/src/admin.spec.ts b/e2e/src/admin.spec.ts index dcbaeec01..83ea5ae1c 100644 --- a/e2e/src/admin.spec.ts +++ b/e2e/src/admin.spec.ts @@ -339,9 +339,11 @@ test.describe('Admin', () => { test('AC-ADM-011-6: user search is not filtered by permission', async () => { await admin.apiKeyAddButton.click(); await admin.selectApiKeyPermissions('admin'); - await admin.searchApiKeyUser('Jeremy'); + await admin.searchApiKeyUser('Chris'); - await expect(admin.apiKeyUserOption('Jeremy West')).toBeVisible(); + await expect( + admin.apiKeyUserOption('Chris Anderson'), + ).toBeVisible(); }); }); }); diff --git a/e2e/src/cascade-delete.spec.ts b/e2e/src/cascade-delete.spec.ts index 2ca851474..fadc59379 100644 --- a/e2e/src/cascade-delete.spec.ts +++ b/e2e/src/cascade-delete.spec.ts @@ -9,18 +9,19 @@ import { FeaturePage } from './pages'; * just stripped from `sys.zones`, leaving systems orphaned (PROJ-845). The * delete confirmation now offers to remove them, off by default. * - * The mock zone tree these tests rely on: + * The mock zone tree (from the user-interfaces mocks) these tests rely on. + * Each room is in its level and in every zone above it: * - * Place Technology (org) - * └── Tower 2 (building) - * ├── Level 30 - * │ └── L30 Activity Spaces - * └── Level 31 - * ├── L31 Activity Spaces - * ├── L31 Multifunction: 31.22 - * └── L31 R7 Activity Space - * New Zone (root, no children, no systems) + * PlaceOS Global (org) zone-org + * └── Sydney Region + * └── Innovation Hub (building) + * ├── Ground Floor bld-01_lvl-G (8 rooms) + * └── Parking Level 1 bld-01_lvl-P1 (no children, no rooms) */ +const ORG = 'zone-org'; +const GROUND_FLOOR = 'bld-01_lvl-G'; +const EMPTY_ZONE = 'bld-01_lvl-P1'; + test.describe('Cascade delete', () => { let zonesPage: FeaturePage; @@ -29,7 +30,7 @@ test.describe('Cascade delete', () => { }); test('offers the option, disabled by default', async () => { - await zonesPage.gotoItem('zone-lmhh_hVfz0'); + await zonesPage.gotoItem(EMPTY_ZONE); await zonesPage.openDeleteConfirmation(); await expect(zonesPage.cascadeCheckbox).toHaveCount(1); @@ -41,7 +42,7 @@ test.describe('Cascade delete', () => { test('no longer claims that systems are removed by default', async ({ page, }) => { - await zonesPage.gotoItem('zone-lmhh_hVfz0'); + await zonesPage.gotoItem(EMPTY_ZONE); await zonesPage.openDeleteConfirmation(); const content = await page @@ -51,7 +52,7 @@ test.describe('Cascade delete', () => { }); test('reports nothing to remove for an empty zone', async () => { - await zonesPage.gotoItem('zone-lmhh_hVfz0'); + await zonesPage.gotoItem(EMPTY_ZONE); await zonesPage.openDeleteConfirmation(); await zonesPage.enableCascade(); @@ -62,7 +63,7 @@ test.describe('Cascade delete', () => { test('lists the systems and modules that would be removed', async ({ page, }) => { - await zonesPage.gotoItem('zone-Kl0E0HmCJ3'); // Place Technology (org) + await zonesPage.gotoItem(ORG); await zonesPage.openDeleteConfirmation(); await zonesPage.enableCascade(); @@ -75,9 +76,9 @@ test.describe('Cascade delete', () => { }); test('keeps systems that also belong to a zone outside the subtree', async () => { - // Level 30's systems are also in Tower 2, which is above it — they - // survive, so the cascade must remove nothing and say so. - await zonesPage.gotoItem('zone-LEHeo501Er'); + // The Ground Floor rooms are also in Innovation Hub, which is above + // it — they survive, so the cascade must remove nothing and say so. + await zonesPage.gotoItem(GROUND_FLOOR); await zonesPage.openDeleteConfirmation(); await zonesPage.enableCascade(); @@ -89,7 +90,7 @@ test.describe('Cascade delete', () => { }); test('removes the orphaned systems when confirmed', async ({ page }) => { - await zonesPage.gotoItem('zone-Kl0E0HmCJ3'); + await zonesPage.gotoItem(ORG); await zonesPage.openDeleteConfirmation(); await zonesPage.enableCascade(); @@ -114,7 +115,7 @@ test.describe('Cascade delete', () => { test('lists what was removed, with ids, once it has run', async ({ page, }) => { - await zonesPage.gotoItem('zone-Kl0E0HmCJ3'); + await zonesPage.gotoItem(ORG); await zonesPage.openDeleteConfirmation(); await zonesPage.enableCascade(); @@ -133,11 +134,11 @@ test.describe('Cascade delete', () => { const receipt = await page .locator('confirm-modal [result-items]') .innerText(); - expect(receipt).toContain('zone-Kl0E0HmCJ3'); - expect(receipt).toContain('Place Technology'); + expect(receipt).toContain(ORG); + expect(receipt).toContain('PlaceOS Global'); // every row carries an id for (const row of await rows.all()) { - expect(await row.innerText()).toMatch(/(sys|zone)-\S+/); + expect(await row.innerText()).toMatch(/(space|zone)-\S+/); } // the confirmation buttons are replaced by a single close @@ -150,7 +151,7 @@ test.describe('Cascade delete', () => { test('shows no receipt for a delete without the option', async ({ page, }) => { - await zonesPage.gotoItem('zone-lmhh_hVfz0'); + await zonesPage.gotoItem(EMPTY_ZONE); await zonesPage.openDeleteConfirmation(); await zonesPage.acceptButton.click(); @@ -162,11 +163,11 @@ test.describe('Cascade delete', () => { test('leaves systems alone when the option is left off', async ({ page, }) => { - const system = zonesPage.itemLink('2.30.08 - Activity Space'); + const system = zonesPage.itemLink('01.1.01 Think Tank'); await page.goto(buildAppUrl('/#/systems')); await expect(system).toBeVisible(); - await zonesPage.gotoItem('zone-Kl0E0HmCJ3'); + await zonesPage.gotoItem(ORG); await zonesPage.openDeleteConfirmation(); await zonesPage.acceptButton.click(); await page.waitForURL(/#\/zones\/-/, { timeout: 30000 }); diff --git a/e2e/src/domains.spec.ts b/e2e/src/domains.spec.ts index e77cecbd9..f097dd61d 100644 --- a/e2e/src/domains.spec.ts +++ b/e2e/src/domains.spec.ts @@ -14,7 +14,7 @@ const PLACE_ID = 'mock-authority'; const DOMAINS = [ { id: PLACE_ID, - name: 'Place Technology', + name: 'PlaceOS Global', domain: 'place.tech', description: 'Main tenant', email_domains: ['place.tech'], @@ -40,7 +40,7 @@ test.describe('Domains', () => { test('AC-DOM-001-1: lists every domain', async () => { await domains.goto(); - await expect(domains.itemLink('Place Technology')).toBeVisible(); + await expect(domains.itemLink('PlaceOS Global')).toBeVisible(); await expect(domains.itemLink('Acme Corporation')).toBeVisible(); }); @@ -49,7 +49,7 @@ test.describe('Domains', () => { await domains.search('Acme'); await expect(domains.itemLink('Acme Corporation')).toBeVisible(); - await expect(domains.itemLink('Place Technology')).toHaveCount(0); + await expect(domains.itemLink('PlaceOS Global')).toHaveCount(0); }); test('AC-DOM-001-3: selecting a domain opens its details', async ({ @@ -138,7 +138,7 @@ test.describe('Domains', () => { await domains.deleteSelected(); await expect(domains.itemLink('Acme Corporation')).toHaveCount(0); - await expect(domains.itemLink('Place Technology')).toBeVisible(); + await expect(domains.itemLink('PlaceOS Global')).toBeVisible(); }); }); @@ -179,11 +179,12 @@ test.describe('Domains', () => { await domains.gotoItem(PLACE_ID); await domains.openTab('users'); - const admin = domains.tabContent.getByRole('row', { - name: /Place Admin/, + // Sorted by name. The table only renders the rows in view + const support = domains.tabContent.getByRole('row', { + name: /Adrian Kowalski/, }); - await expect(admin).toContainText('admin@place.tech'); - await expect(admin.locator('code')).toHaveText('Admin'); + await expect(support).toContainText('adrian.kowalski@place.tech'); + await expect(support.locator('code')).toHaveText('Support'); }); test('AC-DOM-010-1: leaves out users of other domains', async () => { diff --git a/e2e/src/groups.spec.ts b/e2e/src/groups.spec.ts index ba738f5be..2a4ffd229 100644 --- a/e2e/src/groups.spec.ts +++ b/e2e/src/groups.spec.ts @@ -41,7 +41,7 @@ const GROUPS = [ const GROUP_USERS = [ { - user_id: 'user-alex-sorafumo', + user_id: 'staff-9', group_id: 'group-facilities', permissions: 1 | 4, }, @@ -50,13 +50,13 @@ const GROUP_USERS = [ const GROUP_ZONES = [ { group_id: 'group-av-technicians', - zone_id: 'zone-LEHeo501Er', // Level 30 + zone_id: 'bld-01_lvl-1', // Level 1 permissions: 1 | 16, deny: false, }, { group_id: 'group-av-technicians', - zone_id: 'zone-QjLXbYUxuC', // Level 31 + zone_id: 'bld-01_lvl-2', // Level 2 permissions: 0, deny: true, }, @@ -237,14 +237,14 @@ test.describe('Groups', () => { test('AC-GRP-006-1: users tab lists members and their permissions', async () => { await groups.gotoItem('group-facilities', 'users'); - const row = await groups.tableRow('Alex Sorafumo'); + const row = await groups.tableRow('Lisa Zhang'); await expect(row.getByRole('link')).toHaveAttribute( 'href', - /#\/users\/user-alex-sorafumo\/about/, + /#\/users\/staff-9\/about/, ); - await expect(row.nth(0)).toContainText('Alex.Sorafumo@place.tech'); + await expect(row.nth(0)).toContainText('lisa.zhang@place.tech'); await expect(row.nth(1)).toHaveText(/^\s*Read\s+Update\s*$/); - await expect(groups.tabContent).not.toContainText('Jeremy West'); + await expect(groups.tabContent).not.toContainText('Chris Anderson'); }); test('AC-GRP-006-2: adds a user with the default permissions', async ({ @@ -258,16 +258,16 @@ test.describe('Groups', () => { await searchAndPick( page, page.getByPlaceholder('Search for users...'), - 'Jeremy', - 'Jeremy West', + 'Chris', + 'Chris Anderson', ); // Reception gives Read to members by default - const row = await groups.tableRow('Jeremy West'); + const row = await groups.tableRow('Chris Anderson'); await expect(row.nth(1)).toHaveText(/^\s*Read\s*$/); await page.reload(); await groups.waitForItemDetails(); - await expect(groups.tabContent).toContainText('Jeremy West'); + await expect(groups.tabContent).toContainText('Chris Anderson'); }); test('AC-GRP-006-3: removes a user from the group', async ({ @@ -275,7 +275,7 @@ test.describe('Groups', () => { }) => { await groups.gotoItem('group-facilities', 'users'); - const row = await groups.tableRow('Alex Sorafumo'); + const row = await groups.tableRow('Lisa Zhang'); await row.locator('button:has(icon:has-text("delete"))').click(); await groups.acceptButton.click(); @@ -294,10 +294,10 @@ test.describe('Groups', () => { test('AC-GRP-007-1: zones tab lists zones with their access', async () => { await groups.gotoItem('group-av-technicians', 'zones'); - const allowed = await groups.tableRow('Level 30'); + const allowed = await groups.tableRow('Level 1'); await expect(allowed.nth(1)).toHaveText(/^\s*Read\s+Operate\s*$/); await expect(allowed.nth(2)).toHaveText('No'); - const denied = await groups.tableRow('Level 31'); + const denied = await groups.tableRow('Level 2'); await expect(denied.nth(1)).toHaveText('Default'); await expect(denied.nth(2)).toHaveText('Yes'); }); diff --git a/e2e/src/mobile.mobile.spec.ts b/e2e/src/mobile.mobile.spec.ts index 08f724181..dcc68d080 100644 --- a/e2e/src/mobile.mobile.spec.ts +++ b/e2e/src/mobile.mobile.spec.ts @@ -9,7 +9,12 @@ import { MobilePage } from './pages'; * - items are picked from the `item-selection` overlay */ -const ACTIVITY_SPACE = '2.30.08 - Activity Space'; +const ACTIVITY_SPACE = '01.G.01 Sydney Harbour'; +/** The details heading shows the display name of the room */ +const ACTIVITY_SPACE_TITLE = 'Sydney Harbour'; +/** First room of the list, which is sorted by name. The list only renders + * the rows in view */ +const FIRST_SPACE = '01.1.01 Think Tank'; /** Sections reached from the menu and their route */ const MENU_SECTIONS = [ @@ -37,7 +42,7 @@ test.describe('Mobile', () => { test('the menu opens and closes', async () => { await systems.goto(); - await systems.pick(ACTIVITY_SPACE); + await systems.pick(ACTIVITY_SPACE, ACTIVITY_SPACE_TITLE); await systems.openMenu(); await expect( @@ -52,7 +57,7 @@ test.describe('Mobile', () => { for (const section of MENU_SECTIONS) { await test.step(section.name, async () => { // The picker covers the menu button until an item is picked - await systems.gotoItem('sys-QjJvCH7_dA'); + await systems.gotoItem('space-1'); await systems.openMenu(); await systems.menuLink(section.name).click(); @@ -70,15 +75,15 @@ test.describe('Mobile', () => { await systems.goto(); await expect(systems.pickerInput).toBeVisible(); - await expect(systems.pickerItem(ACTIVITY_SPACE)).toBeVisible(); + await expect(systems.pickerItem(FIRST_SPACE)).toBeVisible(); }); test('search filters the list', async () => { await systems.goto(); - await systems.pickerInput.fill('2.30.09'); + await systems.pickerInput.fill('01.G.02'); await expect( - systems.pickerItem('2.30.09 - Activity Space'), + systems.pickerItem('01.G.02 Melbourne Cup'), ).toBeVisible(); await expect(systems.pickerItem(ACTIVITY_SPACE)).toHaveCount(0); }); @@ -87,33 +92,34 @@ test.describe('Mobile', () => { page, }) => { await systems.goto(); + await systems.pickerInput.fill('01.G.01'); await systems.pickerItem(ACTIVITY_SPACE).tap(); - await expect(page).toHaveURL(/#\/systems\/sys-QjJvCH7_dA\//); - await expect(systems.itemName).toHaveText(ACTIVITY_SPACE); + await expect(page).toHaveURL(/#\/systems\/space-1\//); + await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_TITLE); await expect(systems.pickerInput).toBeHidden(); }); test('the picker opens again after a pick', async () => { await systems.goto(); - await systems.pick(ACTIVITY_SPACE); + await systems.pick(ACTIVITY_SPACE, ACTIVITY_SPACE_TITLE); await systems.openPicker(); await expect(systems.pickerInput).toHaveValue(ACTIVITY_SPACE); - await systems.pick('2.30.09 - Activity Space'); + await systems.pick('01.G.02 Melbourne Cup', 'Melbourne Cup'); }); }); test.describe('Systems', () => { test('tabs show their content', async () => { await systems.goto(); - await systems.pick(ACTIVITY_SPACE); + await systems.pick(ACTIVITY_SPACE, ACTIVITY_SPACE_TITLE); await systems.openTab('zones'); await expect( systems.tabContent.getByRole('link', { - name: 'Tower 2', + name: 'Innovation Hub', exact: true, }), ).toBeVisible(); @@ -121,7 +127,7 @@ test.describe('Mobile', () => { test('the edit form holds the current name', async () => { await systems.goto(); - await systems.pick(ACTIVITY_SPACE); + await systems.pick(ACTIVITY_SPACE, ACTIVITY_SPACE_TITLE); await systems.openEditModal(); await expect( @@ -131,7 +137,7 @@ test.describe('Mobile', () => { test('closing the edit form keeps the system unchanged', async () => { await systems.goto(); - await systems.pick(ACTIVITY_SPACE); + await systems.pick(ACTIVITY_SPACE, ACTIVITY_SPACE_TITLE); await systems.openEditModal(); await systems.dialog @@ -140,7 +146,7 @@ test.describe('Mobile', () => { await systems.discardChanges(); await expect(systems.dialog).toBeHidden(); - await expect(systems.itemName).toHaveText(ACTIVITY_SPACE); + await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_TITLE); }); }); }); diff --git a/e2e/src/modules.spec.ts b/e2e/src/modules.spec.ts index 92eb739fe..96597556e 100644 --- a/e2e/src/modules.spec.ts +++ b/e2e/src/modules.spec.ts @@ -8,9 +8,9 @@ import { FeaturePage } from './pages'; * Uses the default mock modules from `src/app/mocks/data/modules.ts`. */ -/** Running logic module in system '2.30.Central-Core' */ +/** Running logic module in system '01.G.08 Strategy Center' */ const LOGIC_ID = 'mod-lAHXR38sRX'; -const LOGIC_SYSTEM_ID = 'sys-l7lvddob4I'; +const LOGIC_SYSTEM_ID = 'space-8'; /** Running device module with the custom name 'Door' */ const DOOR_ID = 'mod-ke85vi5csE'; /** Stopped device module */ @@ -208,13 +208,13 @@ test.describe('Modules', () => { await modules.gotoItem(LOGIC_ID); await modules.openTab('systems'); await modules.tabContent - .getByRole('link', { name: '2.30.Central-Core' }) + .getByRole('link', { name: '01.G.08 Strategy Center' }) .click(); await expect(page).toHaveURL( new RegExp(`#/systems/${LOGIC_SYSTEM_ID}/`), ); - await expect(modules.itemName).toHaveText('2.30.Central-Core'); + await expect(modules.itemName).toHaveText('Strategy Center'); }); }); diff --git a/e2e/src/pages/admin.page.ts b/e2e/src/pages/admin.page.ts index b06913e9f..11723ee7c 100644 --- a/e2e/src/pages/admin.page.ts +++ b/e2e/src/pages/admin.page.ts @@ -52,7 +52,7 @@ export class AdminPage extends BasePage { /** * Select the active domain for API keys */ - async selectApiKeyDomain(domain = 'Place Technology'): Promise { + async selectApiKeyDomain(domain = 'PlaceOS Global'): Promise { await this.page .locator('admin-api-keys admin-domain-select mat-select') .click(); diff --git a/e2e/src/pages/mobile.page.ts b/e2e/src/pages/mobile.page.ts index 6ba1e7aef..6b75faa83 100644 --- a/e2e/src/pages/mobile.page.ts +++ b/e2e/src/pages/mobile.page.ts @@ -65,12 +65,16 @@ export class MobilePage extends BasePage { await expect(this.pickerInput).toBeVisible(); } - /** Search for an item in the picker and pick it */ - async pick(name: string): Promise { + /** + * Search for an item in the picker and pick it + * @param heading Text of the details heading, which shows the display + * name of the item when it has one + */ + async pick(name: string, heading = name): Promise { if (!(await this.pickerInput.isVisible())) await this.openPicker(); await this.pickerInput.fill(name); await this.pickerItem(name).first().click(); - await expect(this.itemName).toHaveText(name); + await expect(this.itemName).toHaveText(heading); } override async waitForLoad(): Promise { diff --git a/e2e/src/pages/users.page.ts b/e2e/src/pages/users.page.ts index 9fb694f21..c98e0e204 100644 --- a/e2e/src/pages/users.page.ts +++ b/e2e/src/pages/users.page.ts @@ -28,7 +28,7 @@ export class UsersPage extends BasePage { }): Promise { await expect( this.dialog.getByRole('combobox', { name: 'Domain' }), - ).toContainText('Place Technology'); + ).toContainText('PlaceOS Global'); await this.field('First Name*').fill(data.first_name); await this.field('Last Name*').fill(data.last_name); await this.field('Email*').fill(data.email); diff --git a/e2e/src/systems.spec.ts b/e2e/src/systems.spec.ts index 00dc78a7f..5938809f0 100644 --- a/e2e/src/systems.spec.ts +++ b/e2e/src/systems.spec.ts @@ -7,9 +7,16 @@ import { SystemsPage } from './pages'; * Tests for user stories US-SYS-001 through US-SYS-012 */ -/** 2.30.08 - Activity Space: 10 modules, 4 zones, no triggers */ -const ACTIVITY_SPACE = 'sys-QjJvCH7_dA'; -const ACTIVITY_SPACE_NAME = '2.30.08 - Activity Space'; +/** A UI mock room with room control: 10 modules, 4 zones, no triggers */ +const ACTIVITY_SPACE = 'space-1'; +const ACTIVITY_SPACE_NAME = '01.G.01 Sydney Harbour'; +/** The details heading shows the display name of the room */ +const ACTIVITY_SPACE_TITLE = 'Sydney Harbour'; +/** The room after it in the list */ +const NEXT_SPACE_NAME = '01.G.02 Melbourne Cup'; +/** The list is sorted by name and only renders the rows in view */ +const FIRST_SPACE = 'space-9'; +const FIRST_SPACE_NAME = '01.1.01 Think Tank'; test.describe('Systems', () => { let systems: SystemsPage; @@ -22,19 +29,17 @@ test.describe('Systems', () => { test('AC-SYS-001-1: lists the systems', async () => { await systems.goto(); - await expect(systems.itemLink(ACTIVITY_SPACE_NAME)).toBeVisible(); + await expect(systems.itemLink(FIRST_SPACE_NAME)).toBeVisible(); await expect( - systems.itemLink('2.30.09 - Activity Space'), + systems.itemLink('01.1.02 Solution Studio'), ).toBeVisible(); }); test('AC-SYS-001-2: search filters the list', async () => { await systems.goto(); - await systems.search('2.30.09'); + await systems.search('01.G.02'); - await expect( - systems.itemLink('2.30.09 - Activity Space'), - ).toBeVisible(); + await expect(systems.itemLink(NEXT_SPACE_NAME)).toBeVisible(); await expect(systems.itemLink(ACTIVITY_SPACE_NAME)).toHaveCount(0); }); @@ -42,12 +47,12 @@ test.describe('Systems', () => { page, }) => { await systems.goto(); - await systems.itemLink(ACTIVITY_SPACE_NAME).click(); + await systems.itemLink(FIRST_SPACE_NAME).click(); await expect(page).toHaveURL( - new RegExp(`#/systems/${ACTIVITY_SPACE}/`), + new RegExp(`#/systems/${FIRST_SPACE}/`), ); - await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_NAME); + await expect(systems.itemName).toHaveText('Think Tank'); }); }); @@ -68,13 +73,13 @@ test.describe('Systems', () => { await systems.goto(); await systems.createWith(async () => { - await systems.selectZone('Tower 2'); - await systems.nameField.fill('Boardroom'); + await systems.selectZone('Innovation Hub'); + await systems.nameField.fill('Huddle Space'); }); - await expect(systems.itemName).toHaveText('Boardroom'); - await systems.search('Boardroom'); - await expect(systems.itemLink('Boardroom')).toBeVisible(); + await expect(systems.itemName).toHaveText('Huddle Space'); + await systems.search('Huddle Space'); + await expect(systems.itemLink('Huddle Space')).toBeVisible(); }); }); @@ -91,14 +96,14 @@ test.describe('Systems', () => { }) => { await systems.gotoItem(ACTIVITY_SPACE); await systems.openEditModal(); - await systems.nameField.fill('2.30.08 - Quiet Room'); + await systems.nameField.fill('01.G.01 Quiet Room'); await systems.saveButton.click(); await expect(systems.dialog).toBeHidden(); - await expect(systems.itemName).toHaveText('2.30.08 - Quiet Room'); await page.reload(); await systems.waitForItemDetails(); - await expect(systems.itemName).toHaveText('2.30.08 - Quiet Room'); + await systems.openEditModal(); + await expect(systems.nameField).toHaveValue('01.G.01 Quiet Room'); }); test('AC-SYS-003-4: closing the modal discards changes', async () => { @@ -108,7 +113,7 @@ test.describe('Systems', () => { await systems.discardChanges(); await expect(systems.dialog).toBeHidden(); - await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_NAME); + await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_TITLE); }); test('AC-SYS-003-5: a camera snapshot URL can be edited', async ({ @@ -157,11 +162,10 @@ test.describe('Systems', () => { test('AC-SYS-004-2: removes the system from the list', async () => { await systems.gotoItem(ACTIVITY_SPACE); await systems.deleteSelected(); + await systems.search('01.G.0'); + await expect(systems.itemLink(NEXT_SPACE_NAME)).toBeVisible(); await expect(systems.itemLink(ACTIVITY_SPACE_NAME)).toHaveCount(0); - await expect( - systems.itemLink('2.30.09 - Activity Space'), - ).toBeVisible(); }); test('AC-SYS-004-3: keeps the system when the confirmation is dismissed', async ({ @@ -172,7 +176,8 @@ test.describe('Systems', () => { await page.keyboard.press('Escape'); await expect(page.locator('confirm-modal')).toHaveCount(0); - await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_NAME); + await expect(systems.itemName).toHaveText(ACTIVITY_SPACE_TITLE); + await systems.search('01.G.01'); await expect(systems.itemLink(ACTIVITY_SPACE_NAME)).toBeVisible(); }); }); @@ -223,10 +228,10 @@ test.describe('Systems', () => { await systems.openTab('zones'); for (const name of [ - 'L30 Activity Spaces', - 'Level 30', - 'Tower 2', - 'Place Technology', + 'Ground Floor', + 'Innovation Hub', + 'Sydney Region', + 'PlaceOS Global', ]) { await expect( systems.tabContent.getByRole('link', { @@ -241,11 +246,11 @@ test.describe('Systems', () => { await systems.gotoItem(ACTIVITY_SPACE, 'zones'); await systems.tabContent - .getByRole('link', { name: 'Tower 2' }) + .getByRole('link', { name: 'Innovation Hub' }) .click(); - await expect(page).toHaveURL(/#\/zones\/zone-Kl0HN~nDwc/); - await expect(systems.itemName).toHaveText('Tower 2'); + await expect(page).toHaveURL(/#\/zones\/bld-01/); + await expect(systems.itemName).toHaveText('Innovation Hub'); }); }); diff --git a/e2e/src/users.spec.ts b/e2e/src/users.spec.ts index 85c426d5a..567e099d2 100644 --- a/e2e/src/users.spec.ts +++ b/e2e/src/users.spec.ts @@ -18,38 +18,39 @@ test.describe('Users', () => { test('AC-USR-001-1: lists the users', async () => { await users.goto(); - await expect(users.itemLink('Alex Sorafumo')).toBeVisible(); - await expect(users.itemLink('Jeremy West')).toBeVisible(); + // Sorted by name. The list only renders the rows in view + await expect(users.itemLink('Adrian Kowalski')).toBeVisible(); + await expect(users.itemLink('Aisha Johnson')).toBeVisible(); }); test('AC-USR-001-2: search filters the list', async () => { await users.goto(); - await users.search('Jeremy'); + await users.search('Chris'); - await expect(users.itemLink('Jeremy West')).toBeVisible(); - await expect(users.itemLink('Alex Sorafumo')).toHaveCount(0); + await expect(users.itemLink('Chris Anderson')).toBeVisible(); + await expect(users.itemLink('Adrian Kowalski')).toHaveCount(0); }); test('AC-USR-001-3: selecting a user opens their details', async ({ page, }) => { await users.goto(); - await users.itemLink('Jeremy West').click(); + await users.itemLink('Aisha Johnson').click(); - await expect(page).toHaveURL(/#\/users\/user-[^/]+\//); - await expect(users.itemName).toHaveText('Jeremy West'); + await expect(page).toHaveURL(/#\/users\/staff-33\//); + await expect(users.itemName).toHaveText('Aisha Johnson'); }); }); test.describe('US-USR-002: View User Details', () => { test('AC-USR-002-1: shows the email address', async () => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await expect( users.tabContent.getByRole('link', { - name: 'Jeremy.West@place.tech', + name: 'chris.anderson@place.tech', }), - ).toHaveAttribute('href', 'mailto:Jeremy.West@place.tech'); + ).toHaveAttribute('href', 'mailto:chris.anderson@place.tech'); }); }); @@ -89,23 +90,23 @@ test.describe('Users', () => { test.describe('US-USR-004: Edit User Details', () => { test('AC-USR-004-1: the edit form holds the current email', async () => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openEditModal(); await expect(users.field('Email*')).toHaveValue( - 'Jeremy.West@place.tech', + 'chris.anderson@place.tech', ); }); test('AC-USR-004-4: a changed email is kept', async ({ page }) => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openEditModal(); - await users.field('Email*').fill('jeremy@place.tech'); + await users.field('Email*').fill('chris@place.tech'); await users.saveButton.click(); await expect(users.dialog).toBeHidden(); const email = users.tabContent.getByRole('link', { - name: 'jeremy@place.tech', + name: 'chris@place.tech', }); await expect(email).toBeVisible(); await page.reload(); @@ -116,29 +117,29 @@ test.describe('Users', () => { test.describe('US-USR-005: Delete User', () => { test('AC-USR-005-2: removes the user from the list', async () => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.deleteSelected(); - await expect(users.itemLink('Jeremy West')).toHaveCount(0); + await expect(users.itemLink('Chris Anderson')).toHaveCount(0); await users.clearSearch(); - await expect(users.itemLink('Alex Sorafumo')).toBeVisible(); + await expect(users.itemLink('Adrian Kowalski')).toBeVisible(); }); test('AC-USR-005-3: keeps the user when the confirmation is dismissed', async ({ page, }) => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openDeleteConfirmation(); await page.keyboard.press('Escape'); await expect(page.locator('confirm-modal')).toHaveCount(0); - await expect(users.itemName).toHaveText('Jeremy West'); + await expect(users.itemName).toHaveText('Chris Anderson'); }); }); test.describe('US-USR-009: Manage User Metadata', () => { test('AC-USR-009-1: shows the empty metadata list', async () => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openTab('metadata'); await expect(users.tabContent).toContainText( @@ -152,7 +153,7 @@ test.describe('Users', () => { await page.addInitScript(() => { sessionStorage.setItem('PLACEOS.mocks.metadata_delay', '1000'); }); - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openTab('metadata'); await expect(users.metadataLoadingSpinner).toBeVisible(); @@ -162,7 +163,7 @@ test.describe('Users', () => { test.describe('US-USR-010: View User History', () => { test('AC-USR-010-1: shows the empty session log', async () => { - await users.openUser('Jeremy West'); + await users.openUser('Chris Anderson'); await users.openTab('history'); await expect(users.tabContent).toContainText( diff --git a/e2e/src/zones.spec.ts b/e2e/src/zones.spec.ts index 1c2b3878c..ad90ef893 100644 --- a/e2e/src/zones.spec.ts +++ b/e2e/src/zones.spec.ts @@ -6,22 +6,23 @@ import { FeaturePage } from './pages'; * * Tests for user stories US-ZON-001 through US-ZON-011. * - * The mock zone tree these tests rely on: + * The mock zone tree (from the user-interfaces mocks) these tests rely on: * - * Place Technology (org) - * └── Tower 2 (building) - * ├── Level 30 zone-LEHeo501Er - * │ └── L30 Activity Spaces zone-iIdF20naW0 - * └── Level 31 zone-QjLXbYUxuC - * ├── L31 Activity Spaces - * ├── L31 Multifunction: 31.22 - * └── L31 R7 Activity Space - * New Zone (root, no children, no systems) zone-lmhh_hVfz0 + * PlaceOS Global (org) zone-org + * ├── Sydney Region region-sydney + * │ ├── Innovation Hub (building) bld-01 + * │ │ ├── Ground Floor bld-01_lvl-G (8 rooms) + * │ │ ├── Level 1 bld-01_lvl-1 + * │ │ ├── Level 2 bld-01_lvl-2 + * │ │ └── Parking Level 1 bld-01_lvl-P1 (no children, no rooms) + * │ └── ... + * └── Melbourne Region region-melbourne */ -const L30_SPACES = 'zone-iIdF20naW0'; -const LEVEL_31 = 'zone-QjLXbYUxuC'; -const NEW_ZONE = 'zone-lmhh_hVfz0'; +const BUILDING = 'bld-01'; +const GROUND_FLOOR = 'bld-01_lvl-G'; +const LEVEL_1 = 'bld-01_lvl-1'; +const PARKING = 'bld-01_lvl-P1'; test.describe('Zones', () => { let zones: FeaturePage; @@ -34,33 +35,34 @@ test.describe('Zones', () => { test('AC-ZON-001-1: lists the zones', async () => { await zones.goto(); - await expect(zones.itemLink('Place Technology')).toBeVisible(); - await expect(zones.itemLink('Tower 2')).toBeVisible(); + // Sorted by name. The list only renders the rows in view + await expect(zones.itemLink('Creative Campus')).toBeVisible(); + await expect(zones.itemLink('Executive Center')).toBeVisible(); }); test('AC-ZON-001-3: search filters the list', async () => { await zones.goto(); - await zones.search('Level 3'); + await zones.search('Region'); - await expect(zones.itemLink('Level 30')).toBeVisible(); - await expect(zones.itemLink('Level 31')).toBeVisible(); - await expect(zones.itemLink('Tower 2')).toHaveCount(0); + await expect(zones.itemLink('Sydney Region')).toBeVisible(); + await expect(zones.itemLink('Melbourne Region')).toBeVisible(); + await expect(zones.itemLink('Innovation Hub')).toHaveCount(0); }); test('AC-ZON-001-4: selecting a zone opens its details', async ({ page, }) => { await zones.goto(); - await zones.itemLink('New Zone').click(); + await zones.itemLink('Executive Center').click(); - await expect(page).toHaveURL(new RegExp(`#/zones/${NEW_ZONE}/`)); - await expect(zones.itemName).toHaveText('New Zone'); + await expect(page).toHaveURL(/#\/zones\/bld-02\//); + await expect(zones.itemName).toHaveText('Executive Center'); }); }); test.describe('US-ZON-002: View Zone Details', () => { test('AC-ZON-002-1: shows each tag once', async () => { - await zones.gotoItem(LEVEL_31); + await zones.gotoItem(LEVEL_1); await expect( zones.itemDetails.getByText('level', { exact: true }), @@ -68,15 +70,15 @@ test.describe('Zones', () => { }); test('AC-ZON-002-2: links to the parent zone', async ({ page }) => { - await zones.gotoItem(L30_SPACES); + await zones.gotoItem(LEVEL_1); const parent = zones.tabContent.getByRole('link', { - name: 'Level 30 (zone-LEHeo501Er)', + name: 'Innovation Hub (bld-01)', }); await parent.click(); - await expect(page).toHaveURL(/#\/zones\/zone-LEHeo501Er\/about/); - await expect(zones.itemName).toHaveText('Level 30'); + await expect(page).toHaveURL(/#\/zones\/bld-01\/about/); + await expect(zones.itemName).toHaveText('Innovation Hub'); }); }); @@ -97,17 +99,17 @@ test.describe('Zones', () => { await zones.createWith(async () => { await zones.dialog .getByRole('textbox', { name: 'Name*', exact: true }) - .fill('Level 32'); + .fill('Atrium'); }); - await expect(zones.itemName).toHaveText('Level 32'); - await expect(zones.itemLink('Level 32')).toBeVisible(); + await expect(zones.itemName).toHaveText('Atrium'); + await expect(zones.itemLink('Atrium')).toBeVisible(); }); }); test.describe('US-ZON-004: Edit Zone Details', () => { test('AC-ZON-004-1: the edit form holds the current name', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(BUILDING); await zones.openEditModal(); await expect( @@ -115,13 +117,13 @@ test.describe('Zones', () => { name: 'Name*', exact: true, }), - ).toHaveValue('New Zone'); + ).toHaveValue('Innovation Hub'); }); test('AC-ZON-004-5: a renamed zone keeps its new name', async ({ page, }) => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openEditModal(); await zones.dialog .getByRole('textbox', { name: 'Name*', exact: true }) @@ -129,15 +131,21 @@ test.describe('Zones', () => { await zones.saveButton.click(); await expect(zones.dialog).toBeHidden(); - await expect(zones.itemName).toHaveText('Basement'); + // The heading shows the display name, which did not change await page.reload(); await zones.waitForItemDetails(); - await expect(zones.itemName).toHaveText('Basement'); - await expect(zones.itemLink('New Zone')).toHaveCount(0); + await expect(zones.itemLink('Basement')).toBeVisible(); + await zones.openEditModal(); + await expect( + zones.dialog.getByRole('textbox', { + name: 'Name*', + exact: true, + }), + ).toHaveValue('Basement'); }); test('AC-ZON-004-6: closing the modal discards changes', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(BUILDING); await zones.openEditModal(); await zones.dialog .getByRole('textbox', { name: 'Name*', exact: true }) @@ -145,44 +153,47 @@ test.describe('Zones', () => { await zones.discardChanges(); await expect(zones.dialog).toBeHidden(); - await expect(zones.itemName).toHaveText('New Zone'); + await expect(zones.itemName).toHaveText('Innovation Hub'); }); }); test.describe('US-ZON-005: Delete Zone', () => { test('AC-ZON-005-3: removes the zone from the list', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.deleteSelected(); + await zones.search('Parking'); - await expect(zones.itemLink('New Zone')).toHaveCount(0); - await expect(zones.itemLink('Tower 2')).toBeVisible(); + // The other two buildings with parking keep theirs + await expect(zones.itemLink('Parking Level 1')).toHaveCount(2); }); test('AC-ZON-005-4: keeps the zone when the confirmation is dismissed', async ({ page, }) => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openDeleteConfirmation(); await page.keyboard.press('Escape'); await expect(page.locator('confirm-modal')).toHaveCount(0); - await expect(zones.itemName).toHaveText('New Zone'); - await expect(zones.itemLink('New Zone')).toBeVisible(); + await expect(zones.itemName).toHaveText('Parking Level 1'); + await zones.search('Parking'); + await expect(zones.itemLink('Parking Level 1')).toHaveCount(3); }); }); test.describe('US-ZON-006: View Child Zones', () => { test('AC-ZON-006-1: lists the child zones', async () => { - await zones.gotoItem(LEVEL_31); + await zones.gotoItem(BUILDING); await zones.openTab('children'); for (const name of [ - 'L31 Activity Spaces', - 'L31 Multifunction: 31.22', - 'L31 R7 Activity Space', + 'Ground Floor', + 'Level 1', + 'Level 2', + 'Parking Level 1', ]) { await expect( - zones.tabContent.getByRole('link', { name }), + zones.tabContent.getByRole('link', { name, exact: true }), ).toBeVisible(); } }); @@ -192,22 +203,22 @@ test.describe('Zones', () => { test('AC-ZON-007-1: lists the systems and links to them', async ({ page, }) => { - await zones.gotoItem(L30_SPACES); + await zones.gotoItem(GROUND_FLOOR); await zones.openTab('systems'); const system = zones.tabContent.getByRole('link', { - name: '2.30.08 - Activity Space', + name: '01.G.01 Sydney Harbour', }); await system.click(); - await expect(page).toHaveURL(/#\/systems\/sys-QjJvCH7_dA/); - await expect(zones.itemName).toHaveText('2.30.08 - Activity Space'); + await expect(page).toHaveURL(/#\/systems\/space-1/); + await expect(zones.itemName).toHaveText('Sydney Harbour'); }); }); test.describe('US-ZON-008: Manage Zone Triggers', () => { test('AC-ZON-008-1: shows the empty triggers list', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openTab('triggers'); await expect(zones.tabContent).toContainText( @@ -218,7 +229,7 @@ test.describe('Zones', () => { test.describe('US-ZON-009: Manage Zone Metadata', () => { test('AC-ZON-009-1: shows the empty metadata list', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openTab('metadata'); await expect(zones.tabContent).toContainText( @@ -232,7 +243,7 @@ test.describe('Zones', () => { await page.addInitScript(() => { sessionStorage.setItem('PLACEOS.mocks.metadata_delay', '1000'); }); - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openTab('metadata'); await expect(zones.metadataLoadingSpinner).toBeVisible(); @@ -242,7 +253,7 @@ test.describe('Zones', () => { test.describe('US-ZON-010: View Zone History', () => { test('AC-ZON-010-1: opens the settings history view', async () => { - await zones.gotoItem(NEW_ZONE); + await zones.gotoItem(PARKING); await zones.openTab('history'); await expect( diff --git a/src/app/mocks/backend/domains.mock.ts b/src/app/mocks/backend/domains.mock.ts index 8dba7ec25..1a2f37899 100644 --- a/src/app/mocks/backend/domains.mock.ts +++ b/src/app/mocks/backend/domains.mock.ts @@ -8,7 +8,7 @@ export const AUTHORITY_ID = 'mock-authority'; const DOMAIN_DATA = [ { id: AUTHORITY_ID, - name: 'Place Technology', + name: 'PlaceOS Global', domain: DOMAIN, email_domains: [DOMAIN], }, diff --git a/src/app/mocks/backend/groups.mock.ts b/src/app/mocks/backend/groups.mock.ts index 82e829682..904cfdbb9 100644 --- a/src/app/mocks/backend/groups.mock.ts +++ b/src/app/mocks/backend/groups.mock.ts @@ -7,6 +7,7 @@ import { endpointToStorageKey, generateBasicHandlers, } from '../common.mock'; +import { UI_MOCKS } from '../data/ui-mocks'; import { AUTHORITY_ID } from './domains.mock'; const SEED_TIME = '2024-03-01T09:00:00.000Z'; @@ -79,18 +80,18 @@ const GROUP_DATA: MockGroup[] = [ }, ]; -/** User IDs are from `./users.mock` */ +/** User IDs are from `../data/ui-mocks` */ const GROUP_USER_SEED: [string, string, number][] = [ - ['user-alex-sorafumo', 'group-facilities', 1 | 4], - ['user-jeremy-west', 'group-av-technicians', 1 | 16], - ['current', 'group-reception', 255], + ['staff-9', 'group-facilities', 1 | 4], // Lisa Zhang + ['staff-12', 'group-av-technicians', 1 | 16], // Chris Anderson + [UI_MOCKS.current_user_id, 'group-reception', 255], ]; -/** Zone IDs are from `../data/zones` */ +/** Zone IDs are from `../data/ui-mocks` */ const GROUP_ZONE_SEED: [string, string, number, boolean][] = [ - ['group-facilities', 'zone-Kl0HN~nDwc', 1, false], // Tower 2 - ['group-av-technicians', 'zone-LEHeo501Er', 1 | 16, false], // Level 30 - ['group-av-technicians', 'zone-QjLXbYUxuC', 0, true], // Level 31 + ['group-facilities', 'bld-01', 1, false], // Innovation Hub + ['group-av-technicians', 'bld-01_lvl-1', 1 | 16, false], // Level 1 + ['group-av-technicians', 'bld-01_lvl-2', 0, true], // Level 2 ]; const GROUP_FILTER_FN = (item: MockGroup, q: HashMap) => { diff --git a/src/app/mocks/backend/staff-api.mock.ts b/src/app/mocks/backend/staff-api.mock.ts index 0d78e46dd..390be1174 100644 --- a/src/app/mocks/backend/staff-api.mock.ts +++ b/src/app/mocks/backend/staff-api.mock.ts @@ -1,6 +1,7 @@ import { registerMockEndpoint } from '@placeos/ts-client'; import { HashMap } from '../../common/types'; import { + API, DOMAIN, STAFF_API, endpointData, @@ -8,6 +9,7 @@ import { nameFilter, updateItem, } from '../common.mock'; +import { UI_MOCKS } from '../data/ui-mocks'; // ============ TENANTS ============ @@ -114,15 +116,12 @@ registerMockEndpoint({ // ============ CURRENT USER ============ +/** Same user as the engine `users/current` */ registerMockEndpoint({ path: `${STAFF_API}/users/current`, method: 'GET', - callback: () => ({ - id: 'current', - name: 'Place Admin', - email: 'admin@place.tech', - sys_admin: true, - support: true, - groups: [], - }), + callback: () => + endpointData(`${API}/users`).find( + ({ id }) => id === UI_MOCKS.current_user_id, + ), }); diff --git a/src/app/mocks/backend/systems.mock.ts b/src/app/mocks/backend/systems.mock.ts index 9c2626dbc..cd7d6d935 100644 --- a/src/app/mocks/backend/systems.mock.ts +++ b/src/app/mocks/backend/systems.mock.ts @@ -9,7 +9,8 @@ import { now, updateItem, } from '../common.mock'; -import { SYSTEMS as SYSTEM_DATA } from '../data/systems'; +import { AV_SETUPS } from '../data/systems'; +import { UI_MOCKS } from '../data/ui-mocks'; import { TRIGGER_INSTANCES, expandInstance } from './triggers.mock'; const FILTER_FN = (item: Record, q: HashMap) => { @@ -48,6 +49,12 @@ registerMockEndpoint({ }, }); +/** The rooms of the user-interfaces mocks, with room control on some */ +const SYSTEM_DATA = UI_MOCKS.systems.map((room) => ({ + ...room, + ...AV_SETUPS[room.id], +})); + /** Add basic API handlers for systems */ generateBasicHandlers(`${API}/systems`, SYSTEM_DATA, { filter: FILTER_FN, diff --git a/src/app/mocks/backend/triggers.mock.ts b/src/app/mocks/backend/triggers.mock.ts index 7ed560f41..0c86fb8fe 100644 --- a/src/app/mocks/backend/triggers.mock.ts +++ b/src/app/mocks/backend/triggers.mock.ts @@ -81,7 +81,7 @@ export const TRIGGER_INSTANCES = createMockStore( { id: 'inst-room-occupied', trigger_id: 'trigger-room-occupied', - control_system_id: 'sys-QjJvCH7_dA', + control_system_id: 'space-1', enabled: true, important: false, triggered: false, diff --git a/src/app/mocks/backend/users.mock.ts b/src/app/mocks/backend/users.mock.ts index bbe50594a..86214bd92 100644 --- a/src/app/mocks/backend/users.mock.ts +++ b/src/app/mocks/backend/users.mock.ts @@ -1,6 +1,13 @@ import { registerMockEndpoint } from '@placeos/ts-client'; import { HashMap } from '../../common/types'; -import { API, generateBasicHandlers, updateItem } from '../common.mock'; +import { + API, + endpointData, + generateBasicHandlers, + notFound, + updateItem, +} from '../common.mock'; +import { UI_MOCKS } from '../data/ui-mocks'; import { AUTHORITY_ID } from './domains.mock'; const FILTER_FN = (item: Record, q: HashMap) => { @@ -33,40 +40,32 @@ function withNames(user: MockUser): MockUser { return { ...user, first_name, last_name: rest.join(' ') }; } -/** Seed users. Jeremy West is a support user, Stephen von Takach an admin */ -const USER_DATA = [ - 'Alex Sorafumo', - 'Jonathan McFarlane', - 'Stephen von Takach', - 'Alexandre Chuvand', - 'Jeremy West', - 'Phil Kheav', - 'Sravani Kotha', -].map((name) => ({ - // Stable ids, so saved data that points to a user survives a reload - id: `user-${name.toLowerCase().replace(/\W+/g, '-')}`, - name, - email: `${name.split(' ').join('.')}@place.tech`, +/** + * Users of the user-interfaces mocks. IT staff are support users, and the + * user that the UI apps sign in as (`current_user_id`) is an admin + */ +const USER_DATA = UI_MOCKS.users.map((user) => ({ + ...user, authority_id: AUTHORITY_ID, - support: name === 'Jeremy West', - sys_admin: name === 'Stephen von Takach', + support: user.department === 'IT', })); -const CURRENT_USER = { - id: `current`, - name: 'Place Admin', - email: `admin@place.tech`, - authority_id: AUTHORITY_ID, - support: false, - sys_admin: true, -}; +/** The signed-in user. Registered before `users/:id` */ +registerMockEndpoint({ + path: `${API}/users/current`, + method: 'GET', + callback: () => + endpointData(`${API}/users`).find( + ({ id }) => id === UI_MOCKS.current_user_id, + ) || notFound('User'), +}); /** Add basic API handlers for users */ -generateBasicHandlers( - `${API}/users`, - [...USER_DATA, CURRENT_USER].map(withNames), - { filter: FILTER_FN, prepare: withNames, id_prefix: 'user-' }, -); +generateBasicHandlers(`${API}/users`, USER_DATA.map(withNames), { + filter: FILTER_FN, + prepare: withNames, + id_prefix: 'user-', +}); /** Restore a deleted user */ registerMockEndpoint({ diff --git a/src/app/mocks/backend/zones.mock.ts b/src/app/mocks/backend/zones.mock.ts index 512e19fba..5bf72720c 100644 --- a/src/app/mocks/backend/zones.mock.ts +++ b/src/app/mocks/backend/zones.mock.ts @@ -6,7 +6,7 @@ import { generateBasicHandlers, notFound, } from '../common.mock'; -import { ZONES as ZONE_DATA } from '../data/zones'; +import { UI_MOCKS } from '../data/ui-mocks'; const FILTER_FN = (item: Record, q: HashMap) => { if (!q || Object.keys(q).length <= 0) { @@ -52,8 +52,9 @@ registerMockEndpoint({ ].sort(), }); -/** Add basic API handlers for zones */ -generateBasicHandlers(`${API}/zones`, ZONE_DATA, { +/** Add basic API handlers for zones. The zones are the same as in the + * user-interfaces mocks */ +generateBasicHandlers(`${API}/zones`, UI_MOCKS.zones, { filter: FILTER_FN, id_prefix: 'zone-', }); diff --git a/src/app/mocks/data/modules.ts b/src/app/mocks/data/modules.ts index 22d1e7c9e..989198cce 100644 --- a/src/app/mocks/data/modules.ts +++ b/src/app/mocks/data/modules.ts @@ -152,7 +152,7 @@ export const MODULES = [ }, { driver_id: 'dep-KvMtm2DJm8', - control_system_id: 'sys-l7lvddob4I', + control_system_id: 'space-8', edge_id: 'edge-KiBexw2DWK', ip: null, tls: null, @@ -162,7 +162,7 @@ export const MODULES = [ uri: null, custom_name: null, settings: { - joined: { initiator: 'sys-l7lvddob4I', rooms: ['sys-l7lvddob4I'] }, + joined: { initiator: 'space-8', rooms: ['space-8'] }, }, updated_at: 1587515684, created_at: 1549322820, @@ -205,7 +205,7 @@ export const MODULES = [ }, { driver_id: 'dep-hxXtCor9su', - control_system_id: 'sys-beJ1G79tKo', + control_system_id: 'space-12', edge_id: 'edge-KiBexw2DWK', ip: null, tls: null, @@ -241,7 +241,7 @@ export const MODULES = [ }, { driver_id: 'dep-hxXtCor9su', - control_system_id: 'sys-beGO1NjTjy', + control_system_id: 'space-11', edge_id: 'edge-KiBexw2DWK', ip: null, tls: null, diff --git a/src/app/mocks/data/systems.ts b/src/app/mocks/data/systems.ts index f47a2f650..c29bb3706 100644 --- a/src/app/mocks/data/systems.ts +++ b/src/app/mocks/data/systems.ts @@ -1,21 +1,11 @@ -export const SYSTEMS = [ - { +/** + * Room control setup of the UI rooms that have AV equipment, by system ID. + * The rooms come from `./ui-mocks`. Module IDs are from `./modules` + */ +export const AV_SETUPS: Record = { + 'space-1': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.08 - Activity Space', - description: - 'https://bookings.place.tech/bookings/#/sys-QjJvCH7_dA?trust=true&fixed_device=true', - email: 'room-2.30.08@place.tech', - capacity: 12, - features: - 'System Display DigitalIO Camera Switcher Mixer Bookings Door Lighting', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-iIdF20naW0', - 'zone-LEHeo501Er', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4g~vwlgiC', 'mod-hxOq9VU66_', @@ -124,27 +114,12 @@ export const SYSTEMS = [ vol_max: 200, doors: [{ title: 'Door', module: 'Door_1', feedback: 'relay1' }], }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-1', created_at: 1506944220, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjJvCH7_dA', - id: 'sys-QjJvCH7_dA', }, - { + 'space-2': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.09 - Activity Space', - description: - 'https://bookings.place.tech/bookings/#/sys-QjKHN-ai1O?trust=true&fixed_device=true', - email: 'room-2.30.09@place.tech', - capacity: 6, - features: 'DigitalIO System Mixer Display Bookings Lighting', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-iIdF20naW0', - 'zone-LEHeo501Er', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4hCj7uTt9', 'mod-hzYH2sYSXw', @@ -191,27 +166,12 @@ export const SYSTEMS = [ }, }, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-2', created_at: 1506944410, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjKHN-ai1O', - id: 'sys-QjKHN-ai1O', }, - { + 'space-3': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.10 - Activity Space', - description: - 'https://bookings.place.tech/bookings/#/sys-QjKOiqWK8c?trust=true&fixed_device=true', - email: 'room-2.30.10@place.tech', - capacity: 6, - features: 'System Display DigitalIO Mixer Bookings Lighting', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-iIdF20naW0', - 'zone-LEHeo501Er', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4hIdyCaGK', 'mod-hzpSvfLsFV', @@ -255,27 +215,12 @@ export const SYSTEMS = [ }, }, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-3', created_at: 1506944465, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjKOiqWK8c', - id: 'sys-QjKOiqWK8c', }, - { + 'space-4': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.11 - Activity Space', - description: - 'https://bookings.place.tech/bookings/#/sys-QjKX8Lv9AH?trust=true&fixed_device=true', - email: 'room-2.30.11@place.tech', - capacity: 4, - features: 'Display DigitalIO Mixer System Bookings Lighting', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-iIdF20naW0', - 'zone-LEHeo501Er', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4hOgsNLpF', 'mod-hztigUu7_J', @@ -319,22 +264,12 @@ export const SYSTEMS = [ }, }, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-4', created_at: 1506944529, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjKX8Lv9AH', - id: 'sys-QjKX8Lv9AH', }, - { + 'space-5': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.12', - description: - 'No Control: Cisco VC Room\nhttps://bookings.place.tech/bookings/#/sys-QjKij0qSn8?trust=true&fixed_device=true', - email: 'room-2.30.12@place.tech', - capacity: 8, - features: 'Bookings System', - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-R8pIEBAOS0', 'mod-SXos0Y6_16'], settings: { map_id: '2.30.12', @@ -343,21 +278,12 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1506944616, support_url: null, - id: 'sys-QjKij0qSn8', + created_at: 1506944616, }, - { + 'space-6': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.13', - description: - 'No Control: Crestron Control Room\nhttps://bookings.place.tech/bookings/#/sys-QjKsYeL1NZ?trust=true&fixed_device=true', - email: 'room-2.30.13@place.tech', - capacity: 4, - features: 'Bookings', - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-kZFFJhqTZc'], settings: { map_id: '2.30.13', @@ -366,21 +292,12 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1506944690, support_url: null, - id: 'sys-QjKsYeL1NZ', + created_at: 1506944690, }, - { + 'space-7': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.14', - description: - 'No Control: Analogue Room\nhttps://bookings.place.tech/bookings/#/sys-QjL1Dac8-K?trust=true&fixed_device=true', - email: 'room-2.30.14@place.tech', - capacity: 5, - features: 'Display Bookings', - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: [ 'mod-hTbiw7m1x~', 'mod-hTbkuuyqt-', @@ -394,20 +311,12 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1506944778, support_url: null, - id: 'sys-QjL1Dac8-K', + created_at: 1506944778, }, - { + 'space-8': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.Central-Core', - description: null, - email: 'example@placeos.com', - capacity: 0, - features: null, - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc'], modules: ['mod-l7l-m0gK7G', 'mod-lAHXR38sRX'], settings: { inputs: ['Laptop'], @@ -441,41 +350,24 @@ export const SYSTEMS = [ lighting_group: 1, touch_enabled: false, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-8', created_at: 1549242116, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-l7lvddob4I', - id: 'sys-l7lvddob4I', }, - { + 'space-9': { edge_id: 'edge-KiBexw2DWK', - name: '2.30.DS2', - description: null, - email: null, - capacity: 0, - features: null, - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-SHo_IR~Dhf', 'mod-SHp8z9U30R'], settings: { ideal_for: 'Havin a swell time', contains: 'Cheese' }, - created_at: 1510209559, support_url: null, - id: 'sys-SHoqafKa7Q', + created_at: 1510209559, }, - { + 'space-10': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.01 - Activity Space (A & B 20 pax)', - description: null, - email: 'room-2.31.01ab@place.tech', - capacity: 20, - features: ' presentation_screen video_conference', - bookable: true, installed_ui_devices: 0, - zones: ['zone-QjLXbYUxuC', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: [], settings: { access_group: 'BB T1 CARPE DIEM Meeting Room 01 Level 31', - linked_rooms: ['sys-beGO1NjTjy', 'sys-beJ1G79tKo'], + linked_rooms: ['space-11', 'space-12'], ignore_modes: true, map_id: '2.31.01A', extra_features: 'presentation_screen video_conference', @@ -486,10 +378,7 @@ export const SYSTEMS = [ 'Working Kit (markers, butcher’s paper, etc)
Reconfigurable furniture
AV Screen with Plug n Play
Operable wall
Writable walls', defaults: { default_mode: 'standalone' }, join_modes: { - joined: { - rooms: ['sys-beGO1NjTjy', 'sys-beJ1G79tKo'], - mode: 'joined', - }, + joined: { rooms: ['space-11', 'space-12'], mode: 'joined' }, }, modes: { standalone: { @@ -539,28 +428,12 @@ export const SYSTEMS = [ }, }, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-10', created_at: 1532266169, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-cx_shjA9zd', - id: 'sys-cx_shjA9zd', }, - { + 'space-11': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.01 A (Left Only 10 pax)', - description: - 'https://bookings.place.tech/bookings/#/sys-beGO1NjTjy?trust=true&fixed_device=true', - email: 'room-2.31.01a@place.tech', - capacity: 10, - features: - 'System Switcher Display Mixer Bookings Door Camera Lighting presentation_screen video_conference', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-beI-19FMdl', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-beGTIJ6WjN', 'mod-beHKasXG~1', @@ -585,7 +458,7 @@ export const SYSTEMS = [ present: 6, shutdown: 7, }, - linked_rooms: ['sys-cx_shjA9zd'], + linked_rooms: ['space-10'], ignore_modes: true, map_id: '2.31.01A', extra_features: 'presentation_screen video_conference', @@ -606,10 +479,7 @@ export const SYSTEMS = [ ], defaults: { default_mode: 'standalone' }, join_modes: { - joined: { - rooms: ['sys-beGO1NjTjy', 'sys-beJ1G79tKo'], - mode: 'joined', - }, + joined: { rooms: ['space-11', 'space-12'], mode: 'joined' }, }, modes: { standalone: { @@ -689,28 +559,12 @@ export const SYSTEMS = [ }, }, }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-11', created_at: 1529566281, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-beGO1NjTjy', - id: 'sys-beGO1NjTjy', }, - { + 'space-12': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.01 B (Right Only 10 pax)', - description: - 'https://bookings.place.tech/bookings/#/sys-beJ1G79tKo?trust=true&fixed_device=true', - email: 'room-2.31.01b@place.tech', - capacity: 10, - features: - 'System Mixer Switcher Display Bookings Door Camera Lighting presentation_screen video_conference', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-beI-19FMdl', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-beJ5HHkTd5', 'mod-beHxMFgTG1', @@ -735,7 +589,7 @@ export const SYSTEMS = [ present: 2, shutdown: 3, }, - linked_rooms: ['sys-cx_shjA9zd'], + linked_rooms: ['space-10'], is_slave_system: true, Laptop: ['floorbox_right'], Wireless: ['wepresent_right'], @@ -769,28 +623,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Reconfigurable furniture
AV Screen with Plug n Play
Operable wall
Writable walls', }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-12', created_at: 1529567580, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-beJ1G79tKo', - id: 'sys-beJ1G79tKo', }, - { + 'space-13': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.02 - Activity Space', - description: - 'AV System Type 2/C\nArchitectural ID 31.05\nhttps://bookings.place.tech/bookings/#/sys-QjMD6Hns-x?trust=true&fixed_device=true', - email: 'room-2.31.02@place.tech', - capacity: 8, - features: - 'Bookings System Display DigitalIO IPTV Lighting Mixer presentation_screen video_conference', - bookable: true, installed_ui_devices: 2, - zones: [ - 'zone-WjDE_sLQy8', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-R8yjCCzYu~', 'mod-RyikzoKtfs', @@ -899,28 +737,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Reconfigurable furniture (jellybean tables and stools)
AV Screen with Plug n Play', }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-13', created_at: 1506945358, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjMD6Hns-x', - id: 'sys-QjMD6Hns-x', }, - { + 'space-14': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.03 - Activity Space', - description: - 'AV System Type 2/B2\nArchitectural ID 31.06\nhttps://bookings.place.tech/bookings/#/sys-QjMMehsWRl?trust=true&fixed_device=true', - email: 'room-2.31.03@place.tech', - capacity: 6, - features: - 'Bookings System Display IPTV DigitalIO Lighting Mixer presentation_screen video_conference', - bookable: true, installed_ui_devices: 2, - zones: [ - 'zone-WjDE_sLQy8', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-R8ykXZ6wm1', 'mod-RyimFWj0FM', @@ -966,28 +788,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Reconfigurable furniture (jellybean tables and stools)
AV Screen with Plug n Play', }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-14', created_at: 1506945430, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjMMehsWRl', - id: 'sys-QjMMehsWRl', }, - { + 'space-15': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.04 - Activity Space', - description: - 'AV System Type 2/B1\nArchitectural ID 31.07\nhttps://bookings.place.tech/bookings/#/sys-QjMct7gBbm?trust=true&fixed_device=true', - email: 'room-2.31.04@place.tech', - capacity: 6, - features: - 'Bookings System Display DigitalIO Lighting Mixer presentation_screen video_conference', - bookable: true, installed_ui_devices: 2, - zones: [ - 'zone-WjDE_sLQy8', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-R8ym4MgENL', 'mod-Ryin8Cj0Mr', @@ -1032,28 +838,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Fixed furniture
AV Screen with Plug n Play', }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-15', created_at: 1506945552, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjMct7gBbm', - id: 'sys-QjMct7gBbm', }, - { + 'space-16': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.05 - Activity Space', - description: - 'AV System Type 2/A\nArchitectural ID 31.08\nhttps://bookings.place.tech/bookings/#/sys-QjMpUFeI_U?trust=true&fixed_device=true', - email: 'room-2.31.05@place.tech', - capacity: 8, - features: - 'Bookings System Display DigitalIO Lighting Mixer presentation_screen video_conference', - bookable: true, installed_ui_devices: 2, - zones: [ - 'zone-WjDE_sLQy8', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-R8ynUyr4kp', 'mod-Ryg~d3Ri1d', @@ -1098,27 +888,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Fixed furniture
AV Screen with Plug n Play', }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-16', created_at: 1506945648, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjMpUFeI_U', - id: 'sys-QjMpUFeI_U', }, - { + 'space-17': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.06 - Activity Space', - description: - 'Booking only. No control.\nhttps://bookings.place.tech/bookings/#/sys-QjM_tz-YSt?trust=true&fixed_device=true', - email: 'room-2.31.06@place.tech', - capacity: 4, - features: 'System Bookings Door', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-WjDE_sLQy8', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4fNMjyy~D', 'mod-hxA4MQLRfz', @@ -1135,26 +910,12 @@ export const SYSTEMS = [ contains: 'Working Kit (markers, butcher’s paper, etc)
Analog Room (No AV)', }, - created_at: 1506945741, support_url: null, - id: 'sys-QjM_tz-YSt', + created_at: 1506945741, }, - { + 'space-18': { edge_id: 'edge-KiBexw2DWK', - name: '2.31.07 - Activity Space', - description: - 'https://bookings.place.tech/bookings/#/sys-QjN7-t7y5n?trust=true&fixed_device=true', - email: 'room-2.31.07@place.tech', - capacity: 4, - features: 'DigitalIO System Mixer Display Bookings Door', - bookable: true, installed_ui_devices: 0, - zones: [ - 'zone-kG8cn_fkH9', - 'zone-QjLXbYUxuC', - 'zone-Kl0HN~nDwc', - 'zone-Kl0E0HmCJ3', - ], modules: [ 'mod-h4fQniTgxj', 'mod-hTMwXPSGXn', @@ -1176,21 +937,12 @@ export const SYSTEMS = [ 'Working Kit (markers, butcher’s paper, etc)
Fixed Furniture
AV Screen with Plug n Play', doors: [{ title: 'Door', module: 'Door_1', feedback: 'relay1' }], }, + support_url: 'https://control.place.tech/meeting/#/?ctrl=space-18', created_at: 1506945810, - support_url: - 'https://control.place.tech/meeting/#/?ctrl=sys-QjN7-t7y5n', - id: 'sys-QjN7-t7y5n', }, - { + 'space-19': { edge_id: 'edge-KiBexw2DWK', - name: 'Barangaroo Tower 2', - description: null, - email: null, - capacity: 0, - features: null, - bookable: false, installed_ui_devices: 0, - zones: ['zone-Kl0E0HmCJ3'], modules: ['mod-OMdzmCZQHy', 'mod-Oy7lt3wbhB'], settings: { terms: 'assets/terms.html', @@ -1198,36 +950,20 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1501635849, support_url: null, - id: 'sys-O8kPamShYv', + created_at: 1501635849, }, - { + 'space-20': { edge_id: 'edge-KiBexw2DWK', - name: 'Level 31 Foyer', - description: null, - email: null, - capacity: 0, - features: null, - bookable: false, installed_ui_devices: 0, - zones: ['zone-QjLXbYUxuC', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-c9he5pLs8H'], settings: { ideal_for: 'Havin a swell time', contains: 'Cheese' }, - created_at: 1510790671, support_url: null, - id: 'sys-Sa1DsnvHbM', + created_at: 1510790671, }, - { + 'space-21': { edge_id: 'edge-KiBexw2DWK', - name: 'Sky Rise Board Room', - description: null, - email: 'mr-l41-br@place.tech', - capacity: 20, - features: 'Bookings presentation_screen', - bookable: false, installed_ui_devices: 0, - zones: ['zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-MOom7Q4xeI'], settings: { extra_features: 'presentation_screen', @@ -1236,20 +972,12 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1494911022, support_url: null, - id: 'sys-KvhW3sI7z0', + created_at: 1494911022, }, - { + 'space-33': { edge_id: 'edge-KiBexw2DWK', - name: 'South West Meeting Table', - description: null, - email: 'mr-l38-sw@place.tech', - capacity: 12, - features: ' presentation_screen', - bookable: false, installed_ui_devices: 0, - zones: ['zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: [], settings: { map_id: '38.SWMT', @@ -1258,36 +986,20 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1498199348, support_url: null, - id: 'sys-MUuKLCkZCJ', + created_at: 1498199348, }, - { + 'space-34': { edge_id: 'edge-KiBexw2DWK', - name: 'Tower Two', - description: null, - email: 'towertwovisitors@place.tech', - capacity: 0, - features: null, - bookable: false, installed_ui_devices: 0, - zones: ['zone-QjLXbYUxuC', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: [], settings: { cost_hour: 0 }, - created_at: 1545104999, support_url: null, - id: 'sys-j7wemZ_tPs', + created_at: 1545104999, }, - { + 'space-35': { edge_id: 'edge-KiBexw2DWK', - name: 'VC Meeting Room', - description: null, - email: 'mr-l30-vc@place.tech', - capacity: 8, - features: ' presentation_screen cisco_video_conference', - bookable: false, installed_ui_devices: 0, - zones: ['zone-LEHeo501Er', 'zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: ['mod-R8p-DweT5-'], settings: { extra_features: 'presentation_screen cisco_video_conference', @@ -1295,20 +1007,12 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1494911090, support_url: null, - id: 'sys-Kvhf1pPGNY', + created_at: 1494911090, }, - { + 'space-36': { edge_id: 'edge-KiBexw2DWK', - name: 'West Lounge Meeting Table', - description: null, - email: 'mr-l38-wl@place.tech', - capacity: 12, - features: ' presentation_screen', - bookable: false, installed_ui_devices: 0, - zones: ['zone-Kl0HN~nDwc', 'zone-Kl0E0HmCJ3'], modules: [], settings: { extra_features: 'presentation_screen', @@ -1317,8 +1021,17 @@ export const SYSTEMS = [ ideal_for: 'Havin a swell time', contains: 'Cheese', }, - created_at: 1494911112, support_url: null, - id: 'sys-Kvhi3KT033', + created_at: 1494911112, }, -]; +}; + +/** Fields of a system that the UI rooms do not have */ +export interface AvSetup { + edge_id: string; + installed_ui_devices: number; + modules: string[]; + settings: Record; + support_url: string; + created_at: number; +} diff --git a/src/app/mocks/data/ui-mocks.ts b/src/app/mocks/data/ui-mocks.ts new file mode 100644 index 000000000..e7801982a --- /dev/null +++ b/src/app/mocks/data/ui-mocks.ts @@ -0,0 +1,4681 @@ +// Made by config/sync-ui-mocks.ts from user-interfaces origin/develop (4a1b7e0e07). +// Do not edit. Run the script again to update it. +export const UI_MOCKS = { + zones: [ + { + id: 'zone-org', + name: 'PlaceOS Global', + display_name: 'PlaceOS Global', + description: + 'Global headquarters and innovation centers for PlaceOS technology solutions', + tags: ['org', 'headquarters', 'technology'], + count: 2, + capacity: 4500, + triggers: [], + settings: { + timezone: 'Australia/Sydney', + booking_rules: { + advance_booking_days: 90, + max_booking_duration: 480, + auto_release_minutes: 15, + }, + work_hours: { + start: '07:00', + end: '19:00', + days: [1, 2, 3, 4, 5], + }, + features: [ + 'wifi', + 'parking', + 'accessibility', + 'catering', + 'security', + ], + }, + }, + { + id: 'region-sydney', + name: 'Sydney Region', + display_name: 'Sydney Metropolitan Region', + description: + 'Primary business region covering Sydney and surrounding areas', + tags: ['region', 'sydney', 'metropolitan'], + parent_id: 'zone-org', + count: 3, + capacity: 2700, + triggers: [], + settings: { + timezone: 'Australia/Sydney', + region_code: 'SYD', + business_hours: { + start: '07:00', + end: '19:00', + timezone: 'Australia/Sydney', + }, + }, + }, + { + id: 'region-melbourne', + name: 'Melbourne Region', + display_name: 'Melbourne Metropolitan Region', + description: + 'Secondary business region covering Melbourne and Victoria', + tags: ['region', 'melbourne', 'metropolitan'], + parent_id: 'zone-org', + count: 2, + capacity: 1800, + triggers: [], + settings: { + timezone: 'Australia/Melbourne', + region_code: 'MEL', + business_hours: { + start: '07:30', + end: '19:30', + timezone: 'Australia/Melbourne', + }, + }, + }, + { + id: 'bld-01', + name: 'Innovation Hub', + display_name: 'Innovation Hub', + description: + 'Modern workspace focused on collaboration and innovation with state-of-the-art facilities', + tags: ['building', 'innovation', 'modern', 'headquarters'], + parent_id: 'region-sydney', + count: 4, + capacity: 1200, + location: '-33.8473,151.0647', + triggers: [], + settings: {}, + }, + { + id: 'bld-02', + name: 'Executive Center', + display_name: 'Executive Center', + description: + 'Premium business center with executive suites, boardrooms, and high-end meeting facilities', + tags: ['building', 'executive', 'premium', 'business'], + parent_id: 'region-sydney', + count: 5, + capacity: 800, + location: '-33.8688,151.2093', + triggers: [], + settings: {}, + }, + { + id: 'bld-03', + name: 'Creative Campus', + display_name: 'Creative Campus', + description: + 'Flexible workspace designed for creative teams with open collaboration areas and maker spaces', + tags: ['building', 'creative', 'flexible', 'collaboration'], + parent_id: 'region-sydney', + count: 3, + capacity: 500, + location: '-33.8688,151.1957', + triggers: [], + settings: {}, + }, + { + id: 'bld-04', + name: 'Melbourne Tower', + display_name: 'Melbourne Tower', + description: + 'High-rise office building in Melbourne CBD with premium corporate facilities', + tags: ['building', 'corporate', 'high-rise', 'premium'], + parent_id: 'region-melbourne', + count: 6, + capacity: 1000, + location: '-37.8136,144.9631', + triggers: [], + settings: {}, + }, + { + id: 'bld-05', + name: 'Melbourne Innovation Lab', + display_name: 'Melbourne Innovation Lab', + description: + 'State-of-the-art research and development facility with collaborative workspaces', + tags: ['building', 'innovation', 'research', 'lab'], + parent_id: 'region-melbourne', + count: 3, + capacity: 800, + location: '-37.8103,144.9717', + triggers: [], + settings: {}, + }, + { + id: 'bld-01_lvl-G', + name: 'Ground Floor', + display_name: 'Ground Floor', + description: + 'Ground Floor of Innovation Hub featuring reception, lobby, cafe, security', + tags: ['level', 'lobby', 'innovation'], + parent_id: 'bld-01', + code: 'INN-G', + type: 'lobby', + count: 10, + capacity: 50, + map_id: 'assets/maps/level_G.svg', + location: '-33.8473,151.0647', + triggers: [], + settings: { + booking_enabled: true, + public_access: true, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 2 }, + }, + }, + { + id: 'bld-01_lvl-1', + name: 'Level 1', + display_name: 'Level 1', + description: + 'Level 1 of Innovation Hub featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'innovation'], + parent_id: 'bld-01', + code: 'INN-1', + type: 'office', + count: 10, + capacity: 480, + map_id: 'assets/maps/level_1.svg', + location: '-33.8473,151.0647', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 16 }, + }, + }, + { + id: 'bld-01_lvl-2', + name: 'Level 2', + display_name: 'Level 2', + description: + 'Level 2 of Innovation Hub featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'innovation'], + parent_id: 'bld-01', + code: 'INN-2', + type: 'office', + count: 13, + capacity: 480, + map_id: 'assets/maps/level_2.svg', + location: '-33.8473,151.0647', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 16 }, + }, + }, + { + id: 'bld-01_lvl-P1', + name: 'Parking Level 1', + display_name: 'Parking Level 1', + description: + 'Parking Level 1 of Innovation Hub featuring parking, ev-charging, bike-storage', + tags: ['level', 'parking', 'innovation'], + parent_id: 'bld-01', + code: 'INN-P1', + type: 'parking', + count: 7, + capacity: 360, + map_id: 'assets/maps/level_P1.svg', + location: '-33.8473,151.0647', + triggers: [], + settings: { + booking_enabled: false, + public_access: false, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 1 }, + }, + }, + { + id: 'bld-02_lvl-G', + name: 'Ground Floor', + display_name: 'Ground Floor', + description: + 'Ground Floor of Executive Center featuring reception, lobby, cafe, security', + tags: ['level', 'lobby', 'executive'], + parent_id: 'bld-02', + code: 'EXE-G', + type: 'lobby', + count: 13, + capacity: 50, + map_id: 'assets/maps/level_G.svg', + location: '-33.8688,151.2093', + triggers: [], + settings: { + booking_enabled: true, + public_access: true, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 2 }, + }, + }, + { + id: 'bld-02_lvl-2', + name: 'Level 2', + display_name: 'Level 2', + description: + 'Level 2 of Executive Center featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'executive'], + parent_id: 'bld-02', + code: 'EXE-2', + type: 'office', + count: 12, + capacity: 320, + map_id: 'assets/maps/level_2.svg', + location: '-33.8688,151.2093', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 11 }, + }, + }, + { + id: 'bld-02_lvl-3', + name: 'Level 3', + display_name: 'Level 3', + description: + 'Level 3 of Executive Center featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'executive'], + parent_id: 'bld-02', + code: 'EXE-3', + type: 'office', + count: 8, + capacity: 320, + map_id: 'assets/maps/level_3.svg', + location: '-33.8688,151.2093', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 11 }, + }, + }, + { + id: 'bld-02_lvl-4', + name: 'Level 4', + display_name: 'Level 4', + description: + 'Level 4 of Executive Center featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'executive'], + parent_id: 'bld-02', + code: 'EXE-4', + type: 'office', + count: 9, + capacity: 320, + map_id: 'assets/maps/level_4.svg', + location: '-33.8688,151.2093', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 11 }, + }, + }, + { + id: 'bld-02_lvl-P1', + name: 'Parking Level 1', + display_name: 'Parking Level 1', + description: + 'Parking Level 1 of Executive Center featuring parking, ev-charging, bike-storage', + tags: ['level', 'parking', 'executive'], + parent_id: 'bld-02', + code: 'EXE-P1', + type: 'parking', + count: 10, + capacity: 240, + map_id: 'assets/maps/level_P1.svg', + location: '-33.8688,151.2093', + triggers: [], + settings: { + booking_enabled: false, + public_access: false, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 1 }, + }, + }, + { + id: 'bld-03_lvl-G', + name: 'Ground Floor', + display_name: 'Ground Floor', + description: + 'Ground Floor of Creative Campus featuring reception, lobby, cafe, security', + tags: ['level', 'lobby', 'creative'], + parent_id: 'bld-03', + code: 'CRE-G', + type: 'lobby', + count: 13, + capacity: 50, + map_id: 'assets/maps/level_G.svg', + location: '-33.8688,151.1957', + triggers: [], + settings: { + booking_enabled: true, + public_access: true, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 2 }, + }, + }, + { + id: 'bld-03_lvl-M', + name: 'Mezzanine', + display_name: 'Mezzanine', + description: + 'Mezzanine of Creative Campus featuring meeting-rooms, break-areas, informal-seating', + tags: ['level', 'mixed-use', 'creative'], + parent_id: 'bld-03', + code: 'CRE-M', + type: 'mixed-use', + count: 13, + capacity: 100, + map_id: 'assets/maps/level_M.svg', + location: '-33.8688,151.1957', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 4 }, + }, + }, + { + id: 'bld-03_lvl-1', + name: 'Level 1', + display_name: 'Level 1', + description: + 'Level 1 of Creative Campus featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'creative'], + parent_id: 'bld-03', + code: 'CRE-1', + type: 'office', + count: 5, + capacity: 200, + map_id: 'assets/maps/level_1.svg', + location: '-33.8688,151.1957', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 7 }, + }, + }, + { + id: 'bld-04_lvl-G', + name: 'Ground Floor', + display_name: 'Ground Floor', + description: + 'Ground Floor of Melbourne Tower featuring reception, lobby, cafe, security', + tags: ['level', 'lobby', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-G', + type: 'lobby', + count: 9, + capacity: 50, + map_id: 'assets/maps/level_G.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: true, + public_access: true, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 2 }, + }, + }, + { + id: 'bld-04_lvl-1', + name: 'Level 1', + display_name: 'Level 1', + description: + 'Level 1 of Melbourne Tower featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-1', + type: 'office', + count: 6, + capacity: 400, + map_id: 'assets/maps/level_1.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 14 }, + }, + }, + { + id: 'bld-04_lvl-2', + name: 'Level 2', + display_name: 'Level 2', + description: + 'Level 2 of Melbourne Tower featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-2', + type: 'office', + count: 13, + capacity: 400, + map_id: 'assets/maps/level_2.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 14 }, + }, + }, + { + id: 'bld-04_lvl-3', + name: 'Level 3', + display_name: 'Level 3', + description: + 'Level 3 of Melbourne Tower featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-3', + type: 'office', + count: 14, + capacity: 400, + map_id: 'assets/maps/level_3.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 14 }, + }, + }, + { + id: 'bld-04_lvl-4', + name: 'Level 4', + display_name: 'Level 4', + description: + 'Level 4 of Melbourne Tower featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-4', + type: 'office', + count: 6, + capacity: 400, + map_id: 'assets/maps/level_4.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 14 }, + }, + }, + { + id: 'bld-04_lvl-P1', + name: 'Parking Level 1', + display_name: 'Parking Level 1', + description: + 'Parking Level 1 of Melbourne Tower featuring parking, ev-charging, bike-storage', + tags: ['level', 'parking', 'corporate'], + parent_id: 'bld-04', + code: 'MEL-P1', + type: 'parking', + count: 13, + capacity: 300, + map_id: 'assets/maps/level_P1.svg', + location: '-37.8136,144.9631', + triggers: [], + settings: { + booking_enabled: false, + public_access: false, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 1 }, + }, + }, + { + id: 'bld-05_lvl-G', + name: 'Ground Floor', + display_name: 'Ground Floor', + description: + 'Ground Floor of Melbourne Innovation Lab featuring reception, lobby, cafe, security', + tags: ['level', 'lobby', 'innovation'], + parent_id: 'bld-05', + code: 'MEL-G', + type: 'lobby', + count: 12, + capacity: 50, + map_id: 'assets/maps/level_G.svg', + location: '-37.8103,144.9717', + triggers: [], + settings: { + booking_enabled: true, + public_access: true, + after_hours_access: 'restricted', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED standard', zones: 2 }, + }, + }, + { + id: 'bld-05_lvl-1', + name: 'Level 1', + display_name: 'Level 1', + description: + 'Level 1 of Melbourne Innovation Lab featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'innovation'], + parent_id: 'bld-05', + code: 'MEL-1', + type: 'office', + count: 9, + capacity: 320, + map_id: 'assets/maps/level_1.svg', + location: '-37.8103,144.9717', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 11 }, + }, + }, + { + id: 'bld-05_lvl-2', + name: 'Level 2', + display_name: 'Level 2', + description: + 'Level 2 of Melbourne Innovation Lab featuring workstations, meeting-rooms, collaboration-spaces', + tags: ['level', 'office', 'innovation'], + parent_id: 'bld-05', + code: 'MEL-2', + type: 'office', + count: 7, + capacity: 320, + map_id: 'assets/maps/level_2.svg', + location: '-37.8103,144.9717', + triggers: [], + settings: { + booking_enabled: true, + public_access: false, + after_hours_access: 'keycard', + temperature_range: { min: 20, max: 26 }, + lighting: { type: 'LED with daylight sensors', zones: 11 }, + }, + }, + ], + systems: [ + { + id: 'space-1', + name: '01.G.01 Sydney Harbour', + display_name: 'Sydney Harbour', + email: 'test.space.1@place.tech', + capacity: 7, + features: ['Display Screen'], + bookable: true, + map_id: 'area-01.g.01-status', + images: [ + 'https://images.unsplash.com/photo-1500000000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.01', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-2', + name: '01.G.02 Melbourne Cup', + display_name: 'Melbourne Cup', + email: 'test.space.2@place.tech', + capacity: 7, + features: ['Phone', 'Display Screen'], + bookable: true, + map_id: 'area-01.g.02-status', + images: [ + 'https://images.unsplash.com/photo-1500100000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.02', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-3', + name: '01.G.03 Brisbane River', + display_name: 'Brisbane River', + email: 'test.space.3@place.tech', + capacity: 4, + features: ['Video Conference'], + bookable: true, + map_id: 'area-01.g.03-status', + images: [ + 'https://images.unsplash.com/photo-1500200000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.03', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-4', + name: '01.G.04 Perth Skyline', + display_name: 'Perth Skyline', + email: 'test.space.4@place.tech', + capacity: 5, + features: ['Phone', 'Display Screen'], + bookable: true, + map_id: 'area-01.g.04-status', + images: [ + 'https://images.unsplash.com/photo-1500300000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.04', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-5', + name: '01.G.05 Adelaide Hills', + display_name: 'Adelaide Hills', + email: 'test.space.5@place.tech', + capacity: 4, + features: ['Display Screen', 'Video Conference'], + bookable: true, + map_id: 'area-01.g.05-status', + images: [ + 'https://images.unsplash.com/photo-1500400000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.05', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-6', + name: '01.G.06 Darwin Sunset', + display_name: 'Darwin Sunset', + email: 'test.space.6@place.tech', + capacity: 4, + features: ['Whiteboard', 'Phone'], + bookable: true, + map_id: 'area-01.g.06-status', + images: [ + 'https://images.unsplash.com/photo-1500500000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '01.G.06', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-7', + name: '01.G.07 Innovation Lab', + display_name: 'Innovation Lab', + email: 'test.space.7@place.tech', + capacity: 10, + features: ['Whiteboard', 'Video Conference'], + bookable: true, + map_id: 'area-01.g.07-status', + images: [ + 'https://images.unsplash.com/photo-1500600000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.G.07', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-8', + name: '01.G.08 Strategy Center', + display_name: 'Strategy Center', + email: 'test.space.8@place.tech', + capacity: 10, + features: ['Audio System'], + bookable: true, + map_id: 'area-01.g.08-status', + images: [ + 'https://images.unsplash.com/photo-1500700000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.G.08', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-G'], + modules: [], + }, + { + id: 'space-9', + name: '01.1.01 Think Tank', + display_name: 'Think Tank', + email: 'test.space.9@place.tech', + capacity: 8, + features: ['Phone', 'Audio System'], + bookable: true, + map_id: 'area-01.1.01-status', + images: [ + 'https://images.unsplash.com/photo-1500800000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.1.01', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-10', + name: '01.1.02 Solution Studio', + display_name: 'Solution Studio', + email: 'test.space.10@place.tech', + capacity: 9, + features: ['Audio System', 'Whiteboard'], + bookable: true, + map_id: 'area-01.1.02-status', + images: [ + 'https://images.unsplash.com/photo-1500900000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.1.02', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-11', + name: '01.1.03 Discovery Room', + display_name: 'Discovery Room', + email: 'test.space.11@place.tech', + capacity: 10, + features: ['Phone', 'Audio System'], + bookable: true, + map_id: 'area-01.1.03-status', + images: [ + 'https://images.unsplash.com/photo-1501000000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.1.03', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-12', + name: '01.1.04 Vision Quest', + display_name: 'Vision Quest', + email: 'test.space.12@place.tech', + capacity: 11, + features: ['Video Conference', 'Phone'], + bookable: true, + map_id: 'area-01.1.04-status', + images: [ + 'https://images.unsplash.com/photo-1501100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501150000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '01.1.04', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-13', + name: '01.1.05 Executive Boardroom', + display_name: 'Executive Boardroom', + email: 'test.space.13@place.tech', + capacity: 14, + features: ['Large Display', 'Audio System'], + bookable: true, + map_id: 'area-01.1.05-status', + images: [ + 'https://images.unsplash.com/photo-1501200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501250000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '01.1.05', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-14', + name: "01.1.06 Chairman's Suite", + display_name: "Chairman's Suite", + email: 'test.space.14@place.tech', + capacity: 12, + features: ['Climate Control', 'Executive Seating'], + bookable: true, + map_id: 'area-01.1.06-status', + images: [ + 'https://images.unsplash.com/photo-1501300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501350000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '01.1.06', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-1'], + modules: [], + }, + { + id: 'space-15', + name: '01.2.01 Directors Lounge', + display_name: 'Directors Lounge', + email: 'test.space.15@place.tech', + capacity: 12, + features: ['Large Display', 'Climate Control'], + bookable: true, + map_id: 'area-01.2.01-status', + images: [ + 'https://images.unsplash.com/photo-1501400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501450000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '01.2.01', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-16', + name: '01.2.02 Leadership Circle', + display_name: 'Leadership Circle', + email: 'test.space.16@place.tech', + capacity: 11, + features: ['Climate Control'], + bookable: true, + map_id: 'area-01.2.02-status', + images: [ + 'https://images.unsplash.com/photo-1501500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501550000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '01.2.02', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-17', + name: '01.2.03 Learning Hub Alpha', + display_name: 'Learning Hub Alpha', + email: 'test.space.17@place.tech', + capacity: 30, + features: ['Audio System', 'Whiteboard'], + bookable: true, + map_id: 'area-01.2.03-status', + images: [ + 'https://images.unsplash.com/photo-1501600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501650000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '01.2.03', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-18', + name: '01.2.04 Development Center Beta', + display_name: 'Development Center Beta', + email: 'test.space.18@place.tech', + capacity: 24, + features: ['Flipchart', 'Audio System'], + bookable: true, + map_id: 'area-01.2.04-status', + images: [ + 'https://images.unsplash.com/photo-1501700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501750000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '01.2.04', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-19', + name: '01.2.05 Skills Workshop', + display_name: 'Skills Workshop', + email: 'test.space.19@place.tech', + capacity: 16, + features: ['Breakout Tables', 'Whiteboard'], + bookable: true, + map_id: 'area-01.2.05-status', + images: [ + 'https://images.unsplash.com/photo-1501800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501850000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '01.2.05', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-20', + name: '01.2.06 Knowledge Exchange', + display_name: 'Knowledge Exchange', + email: 'test.space.20@place.tech', + capacity: 30, + features: ['Flipchart', 'Audio System'], + bookable: true, + map_id: 'area-01.2.06-status', + images: [ + 'https://images.unsplash.com/photo-1501900000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1501950000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '01.2.06', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-21', + name: '01.2.07 Growth Academy', + display_name: 'Growth Academy', + email: 'test.space.21@place.tech', + capacity: 30, + features: ['Projector', 'Flipchart'], + bookable: true, + map_id: 'area-01.2.07-status', + images: [ + 'https://images.unsplash.com/photo-1502000000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1502050000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '01.2.07', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-22', + name: '01.2.08 Call Pod 1', + display_name: 'Call Pod 1', + email: 'test.space.22@place.tech', + capacity: 1, + features: ['Acoustic Privacy', 'Power Outlet'], + bookable: true, + map_id: 'area-01.2.08-status', + images: [ + 'https://images.unsplash.com/photo-1502100000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.08', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-23', + name: '01.2.09 Call Pod 2', + display_name: 'Call Pod 2', + email: 'test.space.23@place.tech', + capacity: 1, + features: ['Power Outlet', 'Acoustic Privacy'], + bookable: true, + map_id: 'area-01.2.09-status', + images: [ + 'https://images.unsplash.com/photo-1502200000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.09', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-24', + name: '01.2.10 Call Pod 3', + display_name: 'Call Pod 3', + email: 'test.space.24@place.tech', + capacity: 1, + features: ['Power Outlet', 'Phone'], + bookable: true, + map_id: 'area-01.2.10-status', + images: [ + 'https://images.unsplash.com/photo-1502300000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.10', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-25', + name: '01.2.11 Call Pod 4', + display_name: 'Call Pod 4', + email: 'test.space.25@place.tech', + capacity: 1, + features: ['Acoustic Privacy'], + bookable: true, + map_id: 'area-01.2.11-status', + images: [ + 'https://images.unsplash.com/photo-1502400000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.11', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-26', + name: '01.2.12 Privacy Booth A', + display_name: 'Privacy Booth A', + email: 'test.space.26@place.tech', + capacity: 1, + features: ['Phone'], + bookable: true, + map_id: 'area-01.2.12-status', + images: [ + 'https://images.unsplash.com/photo-1502500000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.12', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-27', + name: '01.2.13 Privacy Booth B', + display_name: 'Privacy Booth B', + email: 'test.space.27@place.tech', + capacity: 1, + features: ['Phone'], + bookable: true, + map_id: 'area-01.2.13-status', + images: [ + 'https://images.unsplash.com/photo-1502600000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '01.2.13', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-28', + name: '01.2.14 Creative Corner', + display_name: 'Creative Corner', + email: 'test.space.28@place.tech', + capacity: 7, + features: ['Power Outlets', 'Informal Seating'], + bookable: true, + map_id: 'area-01.2.14-status', + images: [ + 'https://images.unsplash.com/photo-1502700000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '01.2.14', + zones: ['zone-org', 'region-sydney', 'bld-01', 'bld-01_lvl-2'], + modules: [], + }, + { + id: 'space-29', + name: '02.G.01 Brainstorm Bay', + display_name: 'Brainstorm Bay', + email: 'test.space.29@place.tech', + capacity: 6, + features: ['Informal Seating'], + bookable: false, + map_id: 'area-02.g.01-status', + images: [ + 'https://images.unsplash.com/photo-1502800000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '02.G.01', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-30', + name: '02.G.02 Idea Incubator', + display_name: 'Idea Incubator', + email: 'test.space.30@place.tech', + capacity: 8, + features: ['Whiteboard', 'Moveable Furniture'], + bookable: false, + map_id: 'area-02.g.02-status', + images: [ + 'https://images.unsplash.com/photo-1502900000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '02.G.02', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-31', + name: '02.G.03 Innovation Intersection', + display_name: 'Innovation Intersection', + email: 'test.space.31@place.tech', + capacity: 6, + features: ['Power Outlets', 'Informal Seating'], + bookable: true, + map_id: 'area-02.g.03-status', + images: [ + 'https://images.unsplash.com/photo-1503000000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '02.G.03', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-32', + name: '02.G.04 Design Den', + display_name: 'Design Den', + email: 'test.space.32@place.tech', + capacity: 7, + features: ['Power Outlets', 'Informal Seating'], + bookable: true, + map_id: 'area-02.g.04-status', + images: [ + 'https://images.unsplash.com/photo-1503100000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '02.G.04', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-33', + name: '02.G.05 Grand Auditorium', + display_name: 'Grand Auditorium', + email: 'test.space.33@place.tech', + capacity: 94, + features: ['Audio System'], + bookable: true, + map_id: 'area-02.g.05-status', + images: [ + 'https://images.unsplash.com/photo-1503200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503250000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '02.G.05', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-34', + name: '02.G.06 Conference Hall', + display_name: 'Conference Hall', + email: 'test.space.34@place.tech', + capacity: 60, + features: ['Catering Setup', 'Audio System', 'Stage/Platform'], + bookable: true, + map_id: 'area-02.g.06-status', + images: [ + 'https://images.unsplash.com/photo-1503300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503350000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '02.G.06', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-G'], + modules: [], + }, + { + id: 'space-35', + name: '02.2.01 Presentation Theater', + display_name: 'Presentation Theater', + email: 'test.space.35@place.tech', + capacity: 106, + features: ['Flexible Seating', 'Stage/Platform'], + bookable: true, + map_id: 'area-02.2.01-status', + images: [ + 'https://images.unsplash.com/photo-1503400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503450000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '02.2.01', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-36', + name: '02.2.02 Multi-Purpose Arena', + display_name: 'Multi-Purpose Arena', + email: 'test.space.36@place.tech', + capacity: 75, + features: ['Audio System', 'Catering Setup', 'Projector'], + bookable: true, + map_id: 'area-02.2.02-status', + images: [ + 'https://images.unsplash.com/photo-1503500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503550000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '02.2.02', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-37', + name: '02.2.03 Coffee Central', + display_name: 'Coffee Central', + email: 'test.space.37@place.tech', + capacity: 14, + features: ['Refrigerator', 'Kitchen Facilities', 'Microwave'], + bookable: false, + map_id: 'area-02.2.03-status', + images: [ + 'https://images.unsplash.com/photo-1503600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503650000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '02.2.03', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-38', + name: '02.2.04 Relaxation Station', + display_name: 'Relaxation Station', + email: 'test.space.38@place.tech', + capacity: 15, + features: ['Refrigerator'], + bookable: false, + map_id: 'area-02.2.04-status', + images: [ + 'https://images.unsplash.com/photo-1503700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503750000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '02.2.04', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-39', + name: '02.2.05 Social Hub', + display_name: 'Social Hub', + email: 'test.space.39@place.tech', + capacity: 16, + features: ['Seating', 'Refrigerator', 'Coffee Machine'], + bookable: true, + map_id: 'area-02.2.05-status', + images: [ + 'https://images.unsplash.com/photo-1503800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503850000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '02.2.05', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-40', + name: '02.2.06 Refresh & Recharge', + display_name: 'Refresh & Recharge', + email: 'test.space.40@place.tech', + capacity: 17, + features: ['Microwave', 'Seating', 'Coffee Machine'], + bookable: false, + map_id: 'area-02.2.06-status', + images: [ + 'https://images.unsplash.com/photo-1503900000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1503950000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '02.2.06', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-41', + name: '02.2.07 Community Kitchen', + display_name: 'Community Kitchen', + email: 'test.space.41@place.tech', + capacity: 16, + features: ['Refrigerator', 'Kitchen Facilities'], + bookable: false, + map_id: 'area-02.2.07-status', + images: [ + 'https://images.unsplash.com/photo-1504000000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1504050000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '02.2.07', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-42', + name: '02.2.08 Deep Work Den', + display_name: 'Deep Work Den', + email: 'test.space.42@place.tech', + capacity: 1, + features: ['Acoustic Privacy', 'Natural Light'], + bookable: false, + map_id: 'area-02.2.08-status', + images: [ + 'https://images.unsplash.com/photo-1504100000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '02.2.08', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-43', + name: '02.3.01 Concentration Cave', + display_name: 'Concentration Cave', + email: 'test.space.43@place.tech', + capacity: 1, + features: ['Natural Light', 'Acoustic Privacy'], + bookable: true, + map_id: 'area-02.3.01-status', + images: [ + 'https://images.unsplash.com/photo-1504200000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '02.3.01', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-44', + name: '02.3.02 Quiet Quarters', + display_name: 'Quiet Quarters', + email: 'test.space.44@place.tech', + capacity: 1, + features: ['Natural Light', 'Desk'], + bookable: false, + map_id: 'area-02.3.02-status', + images: [ + 'https://images.unsplash.com/photo-1504300000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '02.3.02', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-45', + name: '02.3.03 Focus Flow', + display_name: 'Focus Flow', + email: 'test.space.45@place.tech', + capacity: 1, + features: ['Acoustic Privacy', 'Desk'], + bookable: false, + map_id: 'area-02.3.03-status', + images: [ + 'https://images.unsplash.com/photo-1504400000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '02.3.03', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-46', + name: '02.3.04 Zen Zone', + display_name: 'Zen Zone', + email: 'test.space.46@place.tech', + capacity: 1, + features: ['Natural Light', 'Desk'], + bookable: true, + map_id: 'area-02.3.04-status', + images: [ + 'https://images.unsplash.com/photo-1504500000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '02.3.04', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-47', + name: '02.3.05 Demo Theater', + display_name: 'Demo Theater', + email: 'test.space.47@place.tech', + capacity: 26, + features: ['Large Display', 'Tiered Seating'], + bookable: true, + map_id: 'area-02.3.05-status', + images: [ + 'https://images.unsplash.com/photo-1504600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1504650000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '02.3.05', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-48', + name: '02.3.06 Showcase Auditorium', + display_name: 'Showcase Auditorium', + email: 'test.space.48@place.tech', + capacity: 73, + features: ['Large Display', 'Lighting Control'], + bookable: true, + map_id: 'area-02.3.06-status', + images: [ + 'https://images.unsplash.com/photo-1504700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1504750000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '02.3.06', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-49', + name: '02.3.07 Client Presentation Suite', + display_name: 'Client Presentation Suite', + email: 'test.space.49@place.tech', + capacity: 67, + features: ['Audio System', 'Large Display'], + bookable: true, + map_id: 'area-02.3.07-status', + images: [ + 'https://images.unsplash.com/photo-1504800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1504850000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '02.3.07', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-2'], + modules: [], + }, + { + id: 'space-50', + name: '02.4.01 Sydney Harbour', + display_name: 'Sydney Harbour', + email: 'test.space.50@place.tech', + capacity: 5, + features: ['Whiteboard'], + bookable: true, + map_id: 'area-02.4.01-status', + images: [ + 'https://images.unsplash.com/photo-1504900000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.01', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-51', + name: '02.4.02 Melbourne Cup', + display_name: 'Melbourne Cup', + email: 'test.space.51@place.tech', + capacity: 4, + features: ['Whiteboard', 'Video Conference'], + bookable: true, + map_id: 'area-02.4.02-status', + images: [ + 'https://images.unsplash.com/photo-1505000000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.02', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-52', + name: '02.4.03 Brisbane River', + display_name: 'Brisbane River', + email: 'test.space.52@place.tech', + capacity: 7, + features: ['Phone', 'Video Conference'], + bookable: true, + map_id: 'area-02.4.03-status', + images: [ + 'https://images.unsplash.com/photo-1505100000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.03', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-53', + name: '02.4.04 Perth Skyline', + display_name: 'Perth Skyline', + email: 'test.space.53@place.tech', + capacity: 7, + features: ['Phone', 'Video Conference'], + bookable: true, + map_id: 'area-02.4.04-status', + images: [ + 'https://images.unsplash.com/photo-1505200000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.04', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-54', + name: '02.4.05 Adelaide Hills', + display_name: 'Adelaide Hills', + email: 'test.space.54@place.tech', + capacity: 6, + features: ['Video Conference', 'Display Screen'], + bookable: true, + map_id: 'area-02.4.05-status', + images: [ + 'https://images.unsplash.com/photo-1505300000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.05', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-55', + name: '02.4.06 Darwin Sunset', + display_name: 'Darwin Sunset', + email: 'test.space.55@place.tech', + capacity: 7, + features: ['Whiteboard', 'Display Screen'], + bookable: true, + map_id: 'area-02.4.06-status', + images: [ + 'https://images.unsplash.com/photo-1505400000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '02.4.06', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-56', + name: '02.4.07 Innovation Lab', + display_name: 'Innovation Lab', + email: 'test.space.56@place.tech', + capacity: 8, + features: ['Audio System', 'Whiteboard'], + bookable: true, + map_id: 'area-02.4.07-status', + images: [ + 'https://images.unsplash.com/photo-1505500000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '02.4.07', + zones: ['zone-org', 'region-sydney', 'bld-02', 'bld-02_lvl-3'], + modules: [], + }, + { + id: 'space-57', + name: '03.G.01 Strategy Center', + display_name: 'Strategy Center', + email: 'test.space.57@place.tech', + capacity: 9, + features: ['Video Conference'], + bookable: true, + map_id: 'area-03.g.01-status', + images: [ + 'https://images.unsplash.com/photo-1505600000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '03.G.01', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-58', + name: '03.G.02 Think Tank', + display_name: 'Think Tank', + email: 'test.space.58@place.tech', + capacity: 9, + features: ['Audio System', 'Whiteboard'], + bookable: true, + map_id: 'area-03.g.02-status', + images: [ + 'https://images.unsplash.com/photo-1505700000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '03.G.02', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-59', + name: '03.G.03 Solution Studio', + display_name: 'Solution Studio', + email: 'test.space.59@place.tech', + capacity: 11, + features: ['Audio System', 'Projector'], + bookable: true, + map_id: 'area-03.g.03-status', + images: [ + 'https://images.unsplash.com/photo-1505800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1505850000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '03.G.03', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-60', + name: '03.G.04 Discovery Room', + display_name: 'Discovery Room', + email: 'test.space.60@place.tech', + capacity: 9, + features: ['Video Conference', 'Whiteboard', 'Audio System'], + bookable: true, + map_id: 'area-03.g.04-status', + images: [ + 'https://images.unsplash.com/photo-1505900000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '03.G.04', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-61', + name: '03.G.05 Vision Quest', + display_name: 'Vision Quest', + email: 'test.space.61@place.tech', + capacity: 10, + features: ['Video Conference', 'Projector', 'Whiteboard'], + bookable: true, + map_id: 'area-03.g.05-status', + images: [ + 'https://images.unsplash.com/photo-1506000000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '03.G.05', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-62', + name: '03.G.06 Executive Boardroom', + display_name: 'Executive Boardroom', + email: 'test.space.62@place.tech', + capacity: 11, + features: ['Video Conference', 'Audio System', 'Executive Seating'], + bookable: true, + map_id: 'area-03.g.06-status', + images: [ + 'https://images.unsplash.com/photo-1506100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506150000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '03.G.06', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-63', + name: "03.G.07 Chairman's Suite", + display_name: "Chairman's Suite", + email: 'test.space.63@place.tech', + capacity: 12, + features: ['Whiteboard', 'Executive Seating', 'Video Conference'], + bookable: true, + map_id: 'area-03.g.07-status', + images: [ + 'https://images.unsplash.com/photo-1506200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506250000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '03.G.07', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-64', + name: '03.G.08 Directors Lounge', + display_name: 'Directors Lounge', + email: 'test.space.64@place.tech', + capacity: 11, + features: ['Video Conference', 'Whiteboard'], + bookable: true, + map_id: 'area-03.g.08-status', + images: [ + 'https://images.unsplash.com/photo-1506300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506350000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '03.G.08', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-65', + name: '03.G.09 Leadership Circle', + display_name: 'Leadership Circle', + email: 'test.space.65@place.tech', + capacity: 10, + features: ['Climate Control', 'Audio System'], + bookable: true, + map_id: 'area-03.g.09-status', + images: [ + 'https://images.unsplash.com/photo-1506400000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '03.G.09', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-66', + name: '03.G.10 Learning Hub Alpha', + display_name: 'Learning Hub Alpha', + email: 'test.space.66@place.tech', + capacity: 34, + features: ['Whiteboard', 'Breakout Tables'], + bookable: true, + map_id: 'area-03.g.10-status', + images: [ + 'https://images.unsplash.com/photo-1506500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506550000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '03.G.10', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-G'], + modules: [], + }, + { + id: 'space-67', + name: '03.M.01 Development Center Beta', + display_name: 'Development Center Beta', + email: 'test.space.67@place.tech', + capacity: 15, + features: ['Audio System', 'Flipchart'], + bookable: true, + map_id: 'area-03.m.01-status', + images: [ + 'https://images.unsplash.com/photo-1506600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506650000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '03.M.01', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-68', + name: '03.M.02 Skills Workshop', + display_name: 'Skills Workshop', + email: 'test.space.68@place.tech', + capacity: 19, + features: ['Projector'], + bookable: true, + map_id: 'area-03.m.02-status', + images: [ + 'https://images.unsplash.com/photo-1506700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506750000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '03.M.02', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-69', + name: '03.M.03 Knowledge Exchange', + display_name: 'Knowledge Exchange', + email: 'test.space.69@place.tech', + capacity: 19, + features: ['Audio System', 'Breakout Tables'], + bookable: true, + map_id: 'area-03.m.03-status', + images: [ + 'https://images.unsplash.com/photo-1506800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506850000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '03.M.03', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-70', + name: '03.M.04 Growth Academy', + display_name: 'Growth Academy', + email: 'test.space.70@place.tech', + capacity: 15, + features: ['Audio System', 'Projector'], + bookable: true, + map_id: 'area-03.m.04-status', + images: [ + 'https://images.unsplash.com/photo-1506900000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1506950000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '03.M.04', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-71', + name: '03.M.05 Call Pod 1', + display_name: 'Call Pod 1', + email: 'test.space.71@place.tech', + capacity: 1, + features: ['Acoustic Privacy'], + bookable: true, + map_id: 'area-03.m.05-status', + images: [ + 'https://images.unsplash.com/photo-1507000000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.05', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-72', + name: '03.M.06 Call Pod 2', + display_name: 'Call Pod 2', + email: 'test.space.72@place.tech', + capacity: 1, + features: ['Acoustic Privacy', 'Phone'], + bookable: true, + map_id: 'area-03.m.06-status', + images: [ + 'https://images.unsplash.com/photo-1507100000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.06', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-73', + name: '03.M.07 Call Pod 3', + display_name: 'Call Pod 3', + email: 'test.space.73@place.tech', + capacity: 1, + features: ['Power Outlet'], + bookable: true, + map_id: 'area-03.m.07-status', + images: [ + 'https://images.unsplash.com/photo-1507200000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.07', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-74', + name: '03.M.08 Call Pod 4', + display_name: 'Call Pod 4', + email: 'test.space.74@place.tech', + capacity: 1, + features: ['Power Outlet', 'Acoustic Privacy'], + bookable: true, + map_id: 'area-03.m.08-status', + images: [ + 'https://images.unsplash.com/photo-1507300000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.08', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-75', + name: '03.M.09 Privacy Booth A', + display_name: 'Privacy Booth A', + email: 'test.space.75@place.tech', + capacity: 1, + features: ['Phone'], + bookable: true, + map_id: 'area-03.m.09-status', + images: [ + 'https://images.unsplash.com/photo-1507400000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.09', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-76', + name: '03.M.10 Privacy Booth B', + display_name: 'Privacy Booth B', + email: 'test.space.76@place.tech', + capacity: 1, + features: ['Phone', 'Acoustic Privacy'], + bookable: true, + map_id: 'area-03.m.10-status', + images: [ + 'https://images.unsplash.com/photo-1507500000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '03.M.10', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-77', + name: '03.M.11 Creative Corner', + display_name: 'Creative Corner', + email: 'test.space.77@place.tech', + capacity: 7, + features: ['Power Outlets', 'Whiteboard'], + bookable: false, + map_id: 'area-03.m.11-status', + images: [ + 'https://images.unsplash.com/photo-1507600000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '03.M.11', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-78', + name: '03.M.12 Brainstorm Bay', + display_name: 'Brainstorm Bay', + email: 'test.space.78@place.tech', + capacity: 6, + features: ['Moveable Furniture', 'Whiteboard'], + bookable: false, + map_id: 'area-03.m.12-status', + images: [ + 'https://images.unsplash.com/photo-1507700000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '03.M.12', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-79', + name: '03.M.13 Idea Incubator', + display_name: 'Idea Incubator', + email: 'test.space.79@place.tech', + capacity: 7, + features: ['Power Outlets', 'Informal Seating'], + bookable: false, + map_id: 'area-03.m.13-status', + images: [ + 'https://images.unsplash.com/photo-1507800000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '03.M.13', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-80', + name: '03.M.14 Innovation Intersection', + display_name: 'Innovation Intersection', + email: 'test.space.80@place.tech', + capacity: 6, + features: ['Informal Seating'], + bookable: false, + map_id: 'area-03.m.14-status', + images: [ + 'https://images.unsplash.com/photo-1507900000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '03.M.14', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-81', + name: '03.M.15 Design Den', + display_name: 'Design Den', + email: 'test.space.81@place.tech', + capacity: 8, + features: ['Moveable Furniture', 'Power Outlets'], + bookable: false, + map_id: 'area-03.m.15-status', + images: [ + 'https://images.unsplash.com/photo-1508000000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '03.M.15', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-82', + name: '03.1.01 Grand Auditorium', + display_name: 'Grand Auditorium', + email: 'test.space.82@place.tech', + capacity: 135, + features: ['Flexible Seating', 'Catering Setup'], + bookable: true, + map_id: 'area-03.1.01-status', + images: [ + 'https://images.unsplash.com/photo-1508100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508150000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '03.1.01', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-83', + name: '03.1.02 Conference Hall', + display_name: 'Conference Hall', + email: 'test.space.83@place.tech', + capacity: 95, + features: ['Catering Setup', 'Projector'], + bookable: true, + map_id: 'area-03.1.02-status', + images: [ + 'https://images.unsplash.com/photo-1508200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508250000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '03.1.02', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-84', + name: '03.1.03 Presentation Theater', + display_name: 'Presentation Theater', + email: 'test.space.84@place.tech', + capacity: 81, + features: ['Projector', 'Audio System'], + bookable: true, + map_id: 'area-03.1.03-status', + images: [ + 'https://images.unsplash.com/photo-1508300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508350000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '03.1.03', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-85', + name: '03.1.04 Multi-Purpose Arena', + display_name: 'Multi-Purpose Arena', + email: 'test.space.85@place.tech', + capacity: 149, + features: ['Catering Setup', 'Audio System'], + bookable: true, + map_id: 'area-03.1.04-status', + images: [ + 'https://images.unsplash.com/photo-1508400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508450000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '03.1.04', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-86', + name: '03.1.05 Coffee Central', + display_name: 'Coffee Central', + email: 'test.space.86@place.tech', + capacity: 10, + features: ['Refrigerator', 'Microwave'], + bookable: false, + map_id: 'area-03.1.05-status', + images: [ + 'https://images.unsplash.com/photo-1508500000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '03.1.05', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-87', + name: '03.1.06 Relaxation Station', + display_name: 'Relaxation Station', + email: 'test.space.87@place.tech', + capacity: 10, + features: ['Coffee Machine', 'Microwave'], + bookable: true, + map_id: 'area-03.1.06-status', + images: [ + 'https://images.unsplash.com/photo-1508600000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '03.1.06', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-88', + name: '03.1.07 Social Hub', + display_name: 'Social Hub', + email: 'test.space.88@place.tech', + capacity: 11, + features: ['Refrigerator', 'Coffee Machine'], + bookable: false, + map_id: 'area-03.1.07-status', + images: [ + 'https://images.unsplash.com/photo-1508700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508750000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '03.1.07', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-89', + name: '03.1.08 Refresh & Recharge', + display_name: 'Refresh & Recharge', + email: 'test.space.89@place.tech', + capacity: 18, + features: ['Coffee Machine'], + bookable: true, + map_id: 'area-03.1.08-status', + images: [ + 'https://images.unsplash.com/photo-1508800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508850000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '03.1.08', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-90', + name: '03.1.09 Community Kitchen', + display_name: 'Community Kitchen', + email: 'test.space.90@place.tech', + capacity: 16, + features: ['Coffee Machine'], + bookable: false, + map_id: 'area-03.1.09-status', + images: [ + 'https://images.unsplash.com/photo-1508900000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1508950000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '03.1.09', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-91', + name: '03.1.10 Deep Work Den', + display_name: 'Deep Work Den', + email: 'test.space.91@place.tech', + capacity: 1, + features: ['Natural Light', 'Power Outlets'], + bookable: false, + map_id: 'area-03.1.10-status', + images: [ + 'https://images.unsplash.com/photo-1509000000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '03.1.10', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-92', + name: '03.1.11 Concentration Cave', + display_name: 'Concentration Cave', + email: 'test.space.92@place.tech', + capacity: 1, + features: ['Acoustic Privacy', 'Power Outlets'], + bookable: true, + map_id: 'area-03.1.11-status', + images: [ + 'https://images.unsplash.com/photo-1509100000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '03.1.11', + zones: ['zone-org', 'region-sydney', 'bld-03', 'bld-03_lvl-1'], + modules: [], + }, + { + id: 'space-93', + name: '04.G.01 Quiet Quarters', + display_name: 'Quiet Quarters', + email: 'test.space.93@place.tech', + capacity: 1, + features: ['Natural Light', 'Acoustic Privacy'], + bookable: false, + map_id: 'area-04.g.01-status', + images: [ + 'https://images.unsplash.com/photo-1509200000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '04.G.01', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-G'], + modules: [], + }, + { + id: 'space-94', + name: '04.G.02 Focus Flow', + display_name: 'Focus Flow', + email: 'test.space.94@place.tech', + capacity: 1, + features: ['Power Outlets', 'Acoustic Privacy'], + bookable: false, + map_id: 'area-04.g.02-status', + images: [ + 'https://images.unsplash.com/photo-1509300000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '04.G.02', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-G'], + modules: [], + }, + { + id: 'space-95', + name: '04.G.03 Zen Zone', + display_name: 'Zen Zone', + email: 'test.space.95@place.tech', + capacity: 1, + features: ['Power Outlets'], + bookable: false, + map_id: 'area-04.g.03-status', + images: [ + 'https://images.unsplash.com/photo-1509400000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '04.G.03', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-G'], + modules: [], + }, + { + id: 'space-96', + name: '04.G.04 Demo Theater', + display_name: 'Demo Theater', + email: 'test.space.96@place.tech', + capacity: 43, + features: ['Lighting Control', 'Audio System'], + bookable: true, + map_id: 'area-04.g.04-status', + images: [ + 'https://images.unsplash.com/photo-1509500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1509550000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '04.G.04', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-G'], + modules: [], + }, + { + id: 'space-97', + name: '04.G.05 Showcase Auditorium', + display_name: 'Showcase Auditorium', + email: 'test.space.97@place.tech', + capacity: 58, + features: ['Tiered Seating'], + bookable: true, + map_id: 'area-04.g.05-status', + images: [ + 'https://images.unsplash.com/photo-1509600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1509650000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '04.G.05', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-G'], + modules: [], + }, + { + id: 'space-98', + name: '04.1.01 Client Presentation Suite', + display_name: 'Client Presentation Suite', + email: 'test.space.98@place.tech', + capacity: 58, + features: ['Audio System', 'Large Display'], + bookable: true, + map_id: 'area-04.1.01-status', + images: [ + 'https://images.unsplash.com/photo-1509700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1509750000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '04.1.01', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-99', + name: '04.1.02 Sydney Harbour', + display_name: 'Sydney Harbour', + email: 'test.space.99@place.tech', + capacity: 5, + features: ['Video Conference', 'Display Screen'], + bookable: true, + map_id: 'area-04.1.02-status', + images: [ + 'https://images.unsplash.com/photo-1509800000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.02', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-100', + name: '04.1.03 Melbourne Cup', + display_name: 'Melbourne Cup', + email: 'test.space.100@place.tech', + capacity: 4, + features: ['Video Conference'], + bookable: true, + map_id: 'area-04.1.03-status', + images: [ + 'https://images.unsplash.com/photo-1509900000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.03', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-101', + name: '04.1.04 Brisbane River', + display_name: 'Brisbane River', + email: 'test.space.101@place.tech', + capacity: 7, + features: ['Phone'], + bookable: true, + map_id: 'area-04.1.04-status', + images: [ + 'https://images.unsplash.com/photo-1510000000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.04', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-102', + name: '04.1.05 Perth Skyline', + display_name: 'Perth Skyline', + email: 'test.space.102@place.tech', + capacity: 6, + features: ['Phone', 'Video Conference'], + bookable: true, + map_id: 'area-04.1.05-status', + images: [ + 'https://images.unsplash.com/photo-1510100000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.05', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-103', + name: '04.1.06 Adelaide Hills', + display_name: 'Adelaide Hills', + email: 'test.space.103@place.tech', + capacity: 6, + features: ['Phone', 'Display Screen'], + bookable: true, + map_id: 'area-04.1.06-status', + images: [ + 'https://images.unsplash.com/photo-1510200000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.06', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-104', + name: '04.1.07 Darwin Sunset', + display_name: 'Darwin Sunset', + email: 'test.space.104@place.tech', + capacity: 6, + features: ['Display Screen', 'Phone'], + bookable: true, + map_id: 'area-04.1.07-status', + images: [ + 'https://images.unsplash.com/photo-1510300000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '04.1.07', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-105', + name: '04.1.08 Innovation Lab', + display_name: 'Innovation Lab', + email: 'test.space.105@place.tech', + capacity: 11, + features: ['Phone', 'Audio System'], + bookable: true, + map_id: 'area-04.1.08-status', + images: [ + 'https://images.unsplash.com/photo-1510400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1510450000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.1.08', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-106', + name: '04.1.09 Strategy Center', + display_name: 'Strategy Center', + email: 'test.space.106@place.tech', + capacity: 11, + features: ['Audio System'], + bookable: true, + map_id: 'area-04.1.09-status', + images: [ + 'https://images.unsplash.com/photo-1510500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1510550000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.1.09', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-1'], + modules: [], + }, + { + id: 'space-107', + name: '04.2.01 Think Tank', + display_name: 'Think Tank', + email: 'test.space.107@place.tech', + capacity: 9, + features: ['Audio System', 'Projector', 'Phone'], + bookable: true, + map_id: 'area-04.2.01-status', + images: [ + 'https://images.unsplash.com/photo-1510600000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.2.01', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-108', + name: '04.2.02 Solution Studio', + display_name: 'Solution Studio', + email: 'test.space.108@place.tech', + capacity: 9, + features: ['Video Conference', 'Phone', 'Whiteboard'], + bookable: true, + map_id: 'area-04.2.02-status', + images: [ + 'https://images.unsplash.com/photo-1510700000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.2.02', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-109', + name: '04.2.03 Discovery Room', + display_name: 'Discovery Room', + email: 'test.space.109@place.tech', + capacity: 9, + features: ['Phone', 'Audio System'], + bookable: true, + map_id: 'area-04.2.03-status', + images: [ + 'https://images.unsplash.com/photo-1510800000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.2.03', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-110', + name: '04.2.04 Vision Quest', + display_name: 'Vision Quest', + email: 'test.space.110@place.tech', + capacity: 8, + features: ['Phone'], + bookable: true, + map_id: 'area-04.2.04-status', + images: [ + 'https://images.unsplash.com/photo-1510900000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '04.2.04', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-111', + name: '04.2.05 Executive Boardroom', + display_name: 'Executive Boardroom', + email: 'test.space.111@place.tech', + capacity: 14, + features: ['Climate Control', 'Audio System'], + bookable: true, + map_id: 'area-04.2.05-status', + images: [ + 'https://images.unsplash.com/photo-1511000000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511050000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '04.2.05', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-112', + name: "04.2.06 Chairman's Suite", + display_name: "Chairman's Suite", + email: 'test.space.112@place.tech', + capacity: 11, + features: ['Large Display', 'Executive Seating', 'Climate Control'], + bookable: true, + map_id: 'area-04.2.06-status', + images: [ + 'https://images.unsplash.com/photo-1511100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511150000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '04.2.06', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-113', + name: '04.2.07 Directors Lounge', + display_name: 'Directors Lounge', + email: 'test.space.113@place.tech', + capacity: 11, + features: ['Climate Control', 'Video Conference'], + bookable: true, + map_id: 'area-04.2.07-status', + images: [ + 'https://images.unsplash.com/photo-1511200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511250000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '04.2.07', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-114', + name: '04.2.08 Leadership Circle', + display_name: 'Leadership Circle', + email: 'test.space.114@place.tech', + capacity: 11, + features: ['Video Conference', 'Whiteboard'], + bookable: true, + map_id: 'area-04.2.08-status', + images: [ + 'https://images.unsplash.com/photo-1511300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511350000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '04.2.08', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-115', + name: '04.2.09 Learning Hub Alpha', + display_name: 'Learning Hub Alpha', + email: 'test.space.115@place.tech', + capacity: 17, + features: ['Audio System', 'Flipchart'], + bookable: true, + map_id: 'area-04.2.09-status', + images: [ + 'https://images.unsplash.com/photo-1511400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511450000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '04.2.09', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-116', + name: '04.2.10 Development Center Beta', + display_name: 'Development Center Beta', + email: 'test.space.116@place.tech', + capacity: 23, + features: ['Whiteboard', 'Breakout Tables'], + bookable: true, + map_id: 'area-04.2.10-status', + images: [ + 'https://images.unsplash.com/photo-1511500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511550000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '04.2.10', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-117', + name: '04.2.11 Skills Workshop', + display_name: 'Skills Workshop', + email: 'test.space.117@place.tech', + capacity: 26, + features: ['Audio System', 'Flipchart'], + bookable: true, + map_id: 'area-04.2.11-status', + images: [ + 'https://images.unsplash.com/photo-1511600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511650000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '04.2.11', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-118', + name: '04.2.12 Knowledge Exchange', + display_name: 'Knowledge Exchange', + email: 'test.space.118@place.tech', + capacity: 16, + features: ['Flipchart', 'Whiteboard', 'Audio System'], + bookable: true, + map_id: 'area-04.2.12-status', + images: [ + 'https://images.unsplash.com/photo-1511700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511750000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '04.2.12', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-119', + name: '04.2.13 Growth Academy', + display_name: 'Growth Academy', + email: 'test.space.119@place.tech', + capacity: 23, + features: ['Projector', 'Whiteboard'], + bookable: true, + map_id: 'area-04.2.13-status', + images: [ + 'https://images.unsplash.com/photo-1511800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1511850000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '04.2.13', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-120', + name: '04.2.14 Call Pod 1', + display_name: 'Call Pod 1', + email: 'test.space.120@place.tech', + capacity: 1, + features: ['Acoustic Privacy'], + bookable: true, + map_id: 'area-04.2.14-status', + images: [ + 'https://images.unsplash.com/photo-1511900000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.2.14', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-121', + name: '04.2.15 Call Pod 2', + display_name: 'Call Pod 2', + email: 'test.space.121@place.tech', + capacity: 1, + features: ['Power Outlet'], + bookable: true, + map_id: 'area-04.2.15-status', + images: [ + 'https://images.unsplash.com/photo-1512000000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.2.15', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-2'], + modules: [], + }, + { + id: 'space-122', + name: '04.3.01 Call Pod 3', + display_name: 'Call Pod 3', + email: 'test.space.122@place.tech', + capacity: 1, + features: ['Power Outlet', 'Phone'], + bookable: true, + map_id: 'area-04.3.01-status', + images: [ + 'https://images.unsplash.com/photo-1512100000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.3.01', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-123', + name: '04.3.02 Call Pod 4', + display_name: 'Call Pod 4', + email: 'test.space.123@place.tech', + capacity: 1, + features: ['Phone'], + bookable: true, + map_id: 'area-04.3.02-status', + images: [ + 'https://images.unsplash.com/photo-1512200000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.3.02', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-124', + name: '04.3.03 Privacy Booth A', + display_name: 'Privacy Booth A', + email: 'test.space.124@place.tech', + capacity: 1, + features: ['Acoustic Privacy'], + bookable: true, + map_id: 'area-04.3.03-status', + images: [ + 'https://images.unsplash.com/photo-1512300000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.3.03', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-125', + name: '04.3.04 Privacy Booth B', + display_name: 'Privacy Booth B', + email: 'test.space.125@place.tech', + capacity: 1, + features: ['Acoustic Privacy'], + bookable: true, + map_id: 'area-04.3.04-status', + images: [ + 'https://images.unsplash.com/photo-1512400000?w=800&h=600&fit=crop', + ], + type: 'Phone Booth', + code: '04.3.04', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-126', + name: '04.3.05 Creative Corner', + display_name: 'Creative Corner', + email: 'test.space.126@place.tech', + capacity: 8, + features: ['Informal Seating', 'Power Outlets'], + bookable: false, + map_id: 'area-04.3.05-status', + images: [ + 'https://images.unsplash.com/photo-1512500000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '04.3.05', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-127', + name: '04.3.06 Brainstorm Bay', + display_name: 'Brainstorm Bay', + email: 'test.space.127@place.tech', + capacity: 8, + features: ['Whiteboard'], + bookable: false, + map_id: 'area-04.3.06-status', + images: [ + 'https://images.unsplash.com/photo-1512600000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '04.3.06', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-128', + name: '04.3.07 Idea Incubator', + display_name: 'Idea Incubator', + email: 'test.space.128@place.tech', + capacity: 8, + features: ['Informal Seating', 'Moveable Furniture'], + bookable: false, + map_id: 'area-04.3.07-status', + images: [ + 'https://images.unsplash.com/photo-1512700000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '04.3.07', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-129', + name: '04.3.08 Innovation Intersection', + display_name: 'Innovation Intersection', + email: 'test.space.129@place.tech', + capacity: 6, + features: ['Moveable Furniture'], + bookable: false, + map_id: 'area-04.3.08-status', + images: [ + 'https://images.unsplash.com/photo-1512800000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '04.3.08', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-130', + name: '04.3.09 Design Den', + display_name: 'Design Den', + email: 'test.space.130@place.tech', + capacity: 6, + features: ['Moveable Furniture', 'Power Outlets'], + bookable: true, + map_id: 'area-04.3.09-status', + images: [ + 'https://images.unsplash.com/photo-1512900000?w=800&h=600&fit=crop', + ], + type: 'Collaboration Space', + code: '04.3.09', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-3'], + modules: [], + }, + { + id: 'space-131', + name: '04.4.01 Grand Auditorium', + display_name: 'Grand Auditorium', + email: 'test.space.131@place.tech', + capacity: 116, + features: ['Stage/Platform', 'Catering Setup'], + bookable: true, + map_id: 'area-04.4.01-status', + images: [ + 'https://images.unsplash.com/photo-1513000000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513050000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '04.4.01', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-4'], + modules: [], + }, + { + id: 'space-132', + name: '04.4.02 Conference Hall', + display_name: 'Conference Hall', + email: 'test.space.132@place.tech', + capacity: 51, + features: ['Audio System', 'Stage/Platform'], + bookable: true, + map_id: 'area-04.4.02-status', + images: [ + 'https://images.unsplash.com/photo-1513100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513150000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '04.4.02', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-4'], + modules: [], + }, + { + id: 'space-133', + name: '04.4.03 Presentation Theater', + display_name: 'Presentation Theater', + email: 'test.space.133@place.tech', + capacity: 73, + features: ['Audio System', 'Catering Setup'], + bookable: true, + map_id: 'area-04.4.03-status', + images: [ + 'https://images.unsplash.com/photo-1513200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513250000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '04.4.03', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-4'], + modules: [], + }, + { + id: 'space-134', + name: '04.4.04 Multi-Purpose Arena', + display_name: 'Multi-Purpose Arena', + email: 'test.space.134@place.tech', + capacity: 121, + features: ['Projector', 'Audio System'], + bookable: true, + map_id: 'area-04.4.04-status', + images: [ + 'https://images.unsplash.com/photo-1513300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513350000?w=800&h=600&fit=crop', + ], + type: 'Event Space', + code: '04.4.04', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-4'], + modules: [], + }, + { + id: 'space-135', + name: '04.4.05 Coffee Central', + display_name: 'Coffee Central', + email: 'test.space.135@place.tech', + capacity: 19, + features: ['Kitchen Facilities', 'Refrigerator'], + bookable: false, + map_id: 'area-04.4.05-status', + images: [ + 'https://images.unsplash.com/photo-1513400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513450000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '04.4.05', + zones: ['zone-org', 'region-melbourne', 'bld-04', 'bld-04_lvl-4'], + modules: [], + }, + { + id: 'space-136', + name: '05.G.01 Relaxation Station', + display_name: 'Relaxation Station', + email: 'test.space.136@place.tech', + capacity: 14, + features: ['Coffee Machine', 'Microwave'], + bookable: false, + map_id: 'area-05.g.01-status', + images: [ + 'https://images.unsplash.com/photo-1513500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513550000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '05.G.01', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-137', + name: '05.G.02 Social Hub', + display_name: 'Social Hub', + email: 'test.space.137@place.tech', + capacity: 10, + features: ['Kitchen Facilities', 'Microwave'], + bookable: false, + map_id: 'area-05.g.02-status', + images: [ + 'https://images.unsplash.com/photo-1513600000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '05.G.02', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-138', + name: '05.G.03 Refresh & Recharge', + display_name: 'Refresh & Recharge', + email: 'test.space.138@place.tech', + capacity: 10, + features: ['Seating', 'Microwave'], + bookable: true, + map_id: 'area-05.g.03-status', + images: [ + 'https://images.unsplash.com/photo-1513700000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '05.G.03', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-139', + name: '05.G.04 Community Kitchen', + display_name: 'Community Kitchen', + email: 'test.space.139@place.tech', + capacity: 11, + features: ['Coffee Machine'], + bookable: false, + map_id: 'area-05.g.04-status', + images: [ + 'https://images.unsplash.com/photo-1513800000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1513850000?w=800&h=600&fit=crop', + ], + type: 'Break Room', + code: '05.G.04', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-140', + name: '05.G.05 Deep Work Den', + display_name: 'Deep Work Den', + email: 'test.space.140@place.tech', + capacity: 1, + features: ['Natural Light', 'Power Outlets'], + bookable: true, + map_id: 'area-05.g.05-status', + images: [ + 'https://images.unsplash.com/photo-1513900000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '05.G.05', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-141', + name: '05.G.06 Concentration Cave', + display_name: 'Concentration Cave', + email: 'test.space.141@place.tech', + capacity: 1, + features: ['Natural Light', 'Power Outlets'], + bookable: false, + map_id: 'area-05.g.06-status', + images: [ + 'https://images.unsplash.com/photo-1514000000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '05.G.06', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-142', + name: '05.G.07 Quiet Quarters', + display_name: 'Quiet Quarters', + email: 'test.space.142@place.tech', + capacity: 1, + features: ['Power Outlets', 'Natural Light'], + bookable: false, + map_id: 'area-05.g.07-status', + images: [ + 'https://images.unsplash.com/photo-1514100000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '05.G.07', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-143', + name: '05.G.08 Focus Flow', + display_name: 'Focus Flow', + email: 'test.space.143@place.tech', + capacity: 1, + features: ['Natural Light'], + bookable: false, + map_id: 'area-05.g.08-status', + images: [ + 'https://images.unsplash.com/photo-1514200000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '05.G.08', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-144', + name: '05.G.09 Zen Zone', + display_name: 'Zen Zone', + email: 'test.space.144@place.tech', + capacity: 1, + features: ['Desk', 'Acoustic Privacy'], + bookable: false, + map_id: 'area-05.g.09-status', + images: [ + 'https://images.unsplash.com/photo-1514300000?w=800&h=600&fit=crop', + ], + type: 'Focus Room', + code: '05.G.09', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-145', + name: '05.G.10 Demo Theater', + display_name: 'Demo Theater', + email: 'test.space.145@place.tech', + capacity: 72, + features: ['Large Display', 'Audio System'], + bookable: true, + map_id: 'area-05.g.10-status', + images: [ + 'https://images.unsplash.com/photo-1514400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1514450000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '05.G.10', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-146', + name: '05.G.11 Showcase Auditorium', + display_name: 'Showcase Auditorium', + email: 'test.space.146@place.tech', + capacity: 77, + features: ['Large Display'], + bookable: true, + map_id: 'area-05.g.11-status', + images: [ + 'https://images.unsplash.com/photo-1514500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1514550000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '05.G.11', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-147', + name: '05.G.12 Client Presentation Suite', + display_name: 'Client Presentation Suite', + email: 'test.space.147@place.tech', + capacity: 42, + features: ['Lighting Control'], + bookable: true, + map_id: 'area-05.g.12-status', + images: [ + 'https://images.unsplash.com/photo-1514600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1514650000?w=800&h=600&fit=crop', + ], + type: 'Presentation Room', + code: '05.G.12', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-G'], + modules: [], + }, + { + id: 'space-148', + name: '05.1.01 Sydney Harbour', + display_name: 'Sydney Harbour', + email: 'test.space.148@place.tech', + capacity: 7, + features: ['Display Screen', 'Video Conference'], + bookable: true, + map_id: 'area-05.1.01-status', + images: [ + 'https://images.unsplash.com/photo-1514700000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.01', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-149', + name: '05.1.02 Melbourne Cup', + display_name: 'Melbourne Cup', + email: 'test.space.149@place.tech', + capacity: 7, + features: ['Whiteboard', 'Display Screen'], + bookable: true, + map_id: 'area-05.1.02-status', + images: [ + 'https://images.unsplash.com/photo-1514800000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.02', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-150', + name: '05.1.03 Brisbane River', + display_name: 'Brisbane River', + email: 'test.space.150@place.tech', + capacity: 5, + features: ['Video Conference', 'Phone'], + bookable: true, + map_id: 'area-05.1.03-status', + images: [ + 'https://images.unsplash.com/photo-1514900000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.03', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-151', + name: '05.1.04 Perth Skyline', + display_name: 'Perth Skyline', + email: 'test.space.151@place.tech', + capacity: 7, + features: ['Phone', 'Whiteboard'], + bookable: true, + map_id: 'area-05.1.04-status', + images: [ + 'https://images.unsplash.com/photo-1515000000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.04', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-152', + name: '05.1.05 Adelaide Hills', + display_name: 'Adelaide Hills', + email: 'test.space.152@place.tech', + capacity: 5, + features: ['Phone', 'Video Conference'], + bookable: true, + map_id: 'area-05.1.05-status', + images: [ + 'https://images.unsplash.com/photo-1515100000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.05', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-153', + name: '05.1.06 Darwin Sunset', + display_name: 'Darwin Sunset', + email: 'test.space.153@place.tech', + capacity: 7, + features: ['Video Conference', 'Phone'], + bookable: true, + map_id: 'area-05.1.06-status', + images: [ + 'https://images.unsplash.com/photo-1515200000?w=800&h=600&fit=crop', + ], + type: 'Meeting Room', + code: '05.1.06', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-154', + name: '05.1.07 Innovation Lab', + display_name: 'Innovation Lab', + email: 'test.space.154@place.tech', + capacity: 8, + features: ['Phone', 'Video Conference', 'Projector'], + bookable: true, + map_id: 'area-05.1.07-status', + images: [ + 'https://images.unsplash.com/photo-1515300000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.1.07', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-1'], + modules: [], + }, + { + id: 'space-155', + name: '05.2.01 Strategy Center', + display_name: 'Strategy Center', + email: 'test.space.155@place.tech', + capacity: 10, + features: ['Projector', 'Whiteboard'], + bookable: true, + map_id: 'area-05.2.01-status', + images: [ + 'https://images.unsplash.com/photo-1515400000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.2.01', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-156', + name: '05.2.02 Think Tank', + display_name: 'Think Tank', + email: 'test.space.156@place.tech', + capacity: 8, + features: ['Whiteboard'], + bookable: true, + map_id: 'area-05.2.02-status', + images: [ + 'https://images.unsplash.com/photo-1515500000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.2.02', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-157', + name: '05.2.03 Solution Studio', + display_name: 'Solution Studio', + email: 'test.space.157@place.tech', + capacity: 8, + features: ['Phone'], + bookable: true, + map_id: 'area-05.2.03-status', + images: [ + 'https://images.unsplash.com/photo-1515600000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.2.03', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-158', + name: '05.2.04 Discovery Room', + display_name: 'Discovery Room', + email: 'test.space.158@place.tech', + capacity: 10, + features: ['Whiteboard', 'Projector'], + bookable: true, + map_id: 'area-05.2.04-status', + images: [ + 'https://images.unsplash.com/photo-1515700000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.2.04', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-159', + name: '05.2.05 Vision Quest', + display_name: 'Vision Quest', + email: 'test.space.159@place.tech', + capacity: 10, + features: ['Phone', 'Audio System'], + bookable: true, + map_id: 'area-05.2.05-status', + images: [ + 'https://images.unsplash.com/photo-1515800000?w=800&h=600&fit=crop', + ], + type: 'Conference Room', + code: '05.2.05', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-160', + name: '05.2.06 Executive Boardroom', + display_name: 'Executive Boardroom', + email: 'test.space.160@place.tech', + capacity: 12, + features: ['Executive Seating', 'Audio System'], + bookable: true, + map_id: 'area-05.2.06-status', + images: [ + 'https://images.unsplash.com/photo-1515900000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1515950000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '05.2.06', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-161', + name: "05.2.07 Chairman's Suite", + display_name: "Chairman's Suite", + email: 'test.space.161@place.tech', + capacity: 13, + features: ['Audio System', 'Video Conference', 'Climate Control'], + bookable: true, + map_id: 'area-05.2.07-status', + images: [ + 'https://images.unsplash.com/photo-1516000000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516050000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '05.2.07', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-162', + name: '05.2.08 Directors Lounge', + display_name: 'Directors Lounge', + email: 'test.space.162@place.tech', + capacity: 14, + features: ['Executive Seating', 'Audio System'], + bookable: true, + map_id: 'area-05.2.08-status', + images: [ + 'https://images.unsplash.com/photo-1516100000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516150000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '05.2.08', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-163', + name: '05.2.09 Leadership Circle', + display_name: 'Leadership Circle', + email: 'test.space.163@place.tech', + capacity: 14, + features: ['Large Display', 'Whiteboard'], + bookable: true, + map_id: 'area-05.2.09-status', + images: [ + 'https://images.unsplash.com/photo-1516200000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516250000?w=800&h=600&fit=crop', + ], + type: 'Boardroom', + code: '05.2.09', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-164', + name: '05.2.10 Learning Hub Alpha', + display_name: 'Learning Hub Alpha', + email: 'test.space.164@place.tech', + capacity: 28, + features: ['Flipchart', 'Whiteboard'], + bookable: true, + map_id: 'area-05.2.10-status', + images: [ + 'https://images.unsplash.com/photo-1516300000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516350000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '05.2.10', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-165', + name: '05.2.11 Development Center Beta', + display_name: 'Development Center Beta', + email: 'test.space.165@place.tech', + capacity: 33, + features: ['Flipchart', 'Projector'], + bookable: true, + map_id: 'area-05.2.11-status', + images: [ + 'https://images.unsplash.com/photo-1516400000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516450000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '05.2.11', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-166', + name: '05.2.12 Skills Workshop', + display_name: 'Skills Workshop', + email: 'test.space.166@place.tech', + capacity: 21, + features: ['Flipchart', 'Breakout Tables'], + bookable: true, + map_id: 'area-05.2.12-status', + images: [ + 'https://images.unsplash.com/photo-1516500000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516550000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '05.2.12', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-167', + name: '05.2.13 Knowledge Exchange', + display_name: 'Knowledge Exchange', + email: 'test.space.167@place.tech', + capacity: 27, + features: ['Flipchart', 'Projector'], + bookable: true, + map_id: 'area-05.2.13-status', + images: [ + 'https://images.unsplash.com/photo-1516600000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516650000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '05.2.13', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + { + id: 'space-168', + name: '05.2.14 Growth Academy', + display_name: 'Growth Academy', + email: 'test.space.168@place.tech', + capacity: 22, + features: ['Projector', 'Audio System', 'Breakout Tables'], + bookable: true, + map_id: 'area-05.2.14-status', + images: [ + 'https://images.unsplash.com/photo-1516700000?w=800&h=600&fit=crop', + 'https://images.unsplash.com/photo-1516750000?w=800&h=600&fit=crop', + ], + type: 'Training Room', + code: '05.2.14', + zones: ['zone-org', 'region-melbourne', 'bld-05', 'bld-05_lvl-2'], + modules: [], + }, + ], + users: [ + { + id: 'staff-1', + name: 'Sarah Chen', + email: 'sarah.chen@place.tech', + first_name: 'Sarah', + last_name: 'Chen', + phone: '+61 3 1143 9640', + department: 'Engineering', + groups: ['staff', 'engineering', 'manager'], + staff_id: 'EMP0001', + image: 'https://images.unsplash.com/photo-1500000000000?w=150&h=150&fit=crop&crop=face', + sys_admin: true, + }, + { + id: 'staff-2', + name: 'Michael Rodriguez', + email: 'michael.rodriguez@place.tech', + first_name: 'Michael', + last_name: 'Rodriguez', + phone: '+61 9 2326 8103', + department: 'Product', + groups: ['staff', 'product', 'manager'], + staff_id: 'EMP0002', + image: 'https://images.unsplash.com/photo-1500001000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-3', + name: 'Emily Johnson', + email: 'emily.johnson@place.tech', + first_name: 'Emily', + last_name: 'Johnson', + phone: '+61 2 3050 8555', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0003', + image: 'https://images.unsplash.com/photo-1500002000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-4', + name: 'David Park', + email: 'david.park@place.tech', + first_name: 'David', + last_name: 'Park', + phone: '+61 4 4411 6471', + department: 'Engineering', + groups: ['staff', 'engineering', 'manager'], + staff_id: 'EMP0004', + image: 'https://images.unsplash.com/photo-1500003000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-5', + name: 'Jessica Thompson', + email: 'jessica.thompson@place.tech', + first_name: 'Jessica', + last_name: 'Thompson', + phone: '+61 4 3481 3532', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0005', + image: 'https://images.unsplash.com/photo-1500004000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-6', + name: 'Alex Kumar', + email: 'alex.kumar@place.tech', + first_name: 'Alex', + last_name: 'Kumar', + phone: '+61 8 7155 9943', + department: 'Sales', + groups: ['staff', 'sales'], + staff_id: 'EMP0006', + image: 'https://images.unsplash.com/photo-1500005000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-7', + name: 'Rachel Williams', + email: 'rachel.williams@place.tech', + first_name: 'Rachel', + last_name: 'Williams', + phone: '+61 8 5908 5863', + department: 'Human Resources', + groups: ['staff', 'human-resources'], + staff_id: 'EMP0007', + image: 'https://images.unsplash.com/photo-1500006000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-8', + name: "James O'Connor", + email: 'james.oconnor@place.tech', + first_name: 'James', + last_name: "O'Connor", + phone: '+61 5 1947 9977', + department: 'Finance', + groups: ['staff', 'finance'], + staff_id: 'EMP0008', + image: 'https://images.unsplash.com/photo-1500007000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-9', + name: 'Lisa Zhang', + email: 'lisa.zhang@place.tech', + first_name: 'Lisa', + last_name: 'Zhang', + phone: '+61 9 4353 5624', + department: 'Operations', + groups: ['staff', 'operations', 'manager'], + staff_id: 'EMP0009', + image: 'https://images.unsplash.com/photo-1500008000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-10', + name: 'Tom Mitchell', + email: 'tom.mitchell@place.tech', + first_name: 'Tom', + last_name: 'Mitchell', + phone: '+61 6 5360 4856', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0010', + image: 'https://images.unsplash.com/photo-1500009000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-11', + name: 'Amanda Foster', + email: 'amanda.foster@place.tech', + first_name: 'Amanda', + last_name: 'Foster', + phone: '+61 3 7006 3712', + department: 'Customer Success', + groups: ['staff', 'customer-success', 'manager'], + staff_id: 'EMP0011', + image: 'https://images.unsplash.com/photo-1500010000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-12', + name: 'Chris Anderson', + email: 'chris.anderson@place.tech', + first_name: 'Chris', + last_name: 'Anderson', + phone: '+61 4 7459 7499', + department: 'IT', + groups: ['staff', 'it'], + staff_id: 'EMP0012', + image: 'https://images.unsplash.com/photo-1500011000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-13', + name: 'Priya Sharma', + email: 'priya.sharma@place.tech', + first_name: 'Priya', + last_name: 'Sharma', + phone: '+61 9 3409 6838', + department: 'Research & Development', + groups: ['staff', 'research-&-development'], + staff_id: 'EMP0013', + image: 'https://images.unsplash.com/photo-1500012000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-14', + name: 'Mark Davis', + email: 'mark.davis@place.tech', + first_name: 'Mark', + last_name: 'Davis', + phone: '+61 7 2807 7668', + department: 'Sales', + groups: ['staff', 'sales', 'manager'], + staff_id: 'EMP0014', + image: 'https://images.unsplash.com/photo-1500013000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-15', + name: 'Sophie Taylor', + email: 'sophie.taylor@place.tech', + first_name: 'Sophie', + last_name: 'Taylor', + phone: '+61 7 3865 1713', + department: 'Design', + groups: ['staff', 'design', 'manager'], + staff_id: 'EMP0015', + image: 'https://images.unsplash.com/photo-1500014000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-16', + name: 'Daniel Lee', + email: 'daniel.lee@place.tech', + first_name: 'Daniel', + last_name: 'Lee', + phone: '+61 8 6859 9580', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0016', + image: 'https://images.unsplash.com/photo-1500015000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-17', + name: 'Olivia Brown', + email: 'olivia.brown@place.tech', + first_name: 'Olivia', + last_name: 'Brown', + phone: '+61 6 2835 5105', + department: 'Marketing', + groups: ['staff', 'marketing'], + staff_id: 'EMP0017', + image: 'https://images.unsplash.com/photo-1500016000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-18', + name: 'Ryan Wilson', + email: 'ryan.wilson@place.tech', + first_name: 'Ryan', + last_name: 'Wilson', + phone: '+61 2 6093 1061', + department: 'Product', + groups: ['staff', 'product'], + staff_id: 'EMP0018', + image: 'https://images.unsplash.com/photo-1500017000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-19', + name: 'Grace Martinez', + email: 'grace.martinez@place.tech', + first_name: 'Grace', + last_name: 'Martinez', + phone: '+61 6 2110 2487', + department: 'Legal', + groups: ['staff', 'legal'], + staff_id: 'EMP0019', + image: 'https://images.unsplash.com/photo-1500018000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-20', + name: 'Ben Clarke', + email: 'ben.clarke@place.tech', + first_name: 'Ben', + last_name: 'Clarke', + phone: '+61 7 2044 3553', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0020', + image: 'https://images.unsplash.com/photo-1500019000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-21', + name: 'Natasha Petrov', + email: 'natasha.petrov@place.tech', + first_name: 'Natasha', + last_name: 'Petrov', + phone: '+61 5 8348 7343', + department: 'Engineering', + groups: ['staff', 'engineering', 'manager'], + staff_id: 'EMP0021', + image: 'https://images.unsplash.com/photo-1500020000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-22', + name: 'Carlos Silva', + email: 'carlos.silva@place.tech', + first_name: 'Carlos', + last_name: 'Silva', + phone: '+61 6 5818 4330', + department: 'Sales', + groups: ['staff', 'sales', 'manager'], + staff_id: 'EMP0022', + image: 'https://images.unsplash.com/photo-1500021000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-23', + name: 'Maya Patel', + email: 'maya.patel@place.tech', + first_name: 'Maya', + last_name: 'Patel', + phone: '+61 9 6335 4577', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0023', + image: 'https://images.unsplash.com/photo-1500022000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-24', + name: 'Jacob Nielsen', + email: 'jacob.nielsen@place.tech', + first_name: 'Jacob', + last_name: 'Nielsen', + phone: '+61 2 5782 4421', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0024', + image: 'https://images.unsplash.com/photo-1500023000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-25', + name: 'Isabella Romano', + email: 'isabella.romano@place.tech', + first_name: 'Isabella', + last_name: 'Romano', + phone: '+61 8 3259 1671', + department: 'Human Resources', + groups: ['staff', 'human-resources', 'manager'], + staff_id: 'EMP0025', + image: 'https://images.unsplash.com/photo-1500024000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-26', + name: 'Hassan Ahmed', + email: 'hassan.ahmed@place.tech', + first_name: 'Hassan', + last_name: 'Ahmed', + phone: '+61 2 8998 8839', + department: 'Finance', + groups: ['staff', 'finance', 'manager'], + staff_id: 'EMP0026', + image: 'https://images.unsplash.com/photo-1500025000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-27', + name: 'Elena Popov', + email: 'elena.popov@place.tech', + first_name: 'Elena', + last_name: 'Popov', + phone: '+61 5 3129 8039', + department: 'Operations', + groups: ['staff', 'operations'], + staff_id: 'EMP0027', + image: 'https://images.unsplash.com/photo-1500026000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-28', + name: 'Nathan Campbell', + email: 'nathan.campbell@place.tech', + first_name: 'Nathan', + last_name: 'Campbell', + phone: '+61 5 7214 4480', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0028', + image: 'https://images.unsplash.com/photo-1500027000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-29', + name: 'Zoe Walker', + email: 'zoe.walker@place.tech', + first_name: 'Zoe', + last_name: 'Walker', + phone: '+61 6 1492 6853', + department: 'Product', + groups: ['staff', 'product'], + staff_id: 'EMP0029', + image: 'https://images.unsplash.com/photo-1500028000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-30', + name: 'Adrian Kowalski', + email: 'adrian.kowalski@place.tech', + first_name: 'Adrian', + last_name: 'Kowalski', + phone: '+61 6 7070 4557', + department: 'IT', + groups: ['staff', 'it'], + staff_id: 'EMP0030', + image: 'https://images.unsplash.com/photo-1500029000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-31', + name: 'Samantha Brooks', + email: 'samantha.brooks@place.tech', + first_name: 'Samantha', + last_name: 'Brooks', + phone: '+61 5 6480 9337', + department: 'Customer Success', + groups: ['staff', 'customer-success'], + staff_id: 'EMP0031', + image: 'https://images.unsplash.com/photo-1500030000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-32', + name: 'Lucas Garcia', + email: 'lucas.garcia@place.tech', + first_name: 'Lucas', + last_name: 'Garcia', + phone: '+61 4 9919 4490', + department: 'Research & Development', + groups: ['staff', 'research-&-development'], + staff_id: 'EMP0032', + image: 'https://images.unsplash.com/photo-1500031000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-33', + name: 'Aisha Johnson', + email: 'aisha.johnson@place.tech', + first_name: 'Aisha', + last_name: 'Johnson', + phone: '+61 6 6150 8321', + department: 'Legal', + groups: ['staff', 'legal'], + staff_id: 'EMP0033', + image: 'https://images.unsplash.com/photo-1500032000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-34', + name: 'Marcus Stone', + email: 'marcus.stone@place.tech', + first_name: 'Marcus', + last_name: 'Stone', + phone: '+61 4 6889 3081', + department: 'Engineering', + groups: ['staff', 'engineering', 'manager'], + staff_id: 'EMP0034', + image: 'https://images.unsplash.com/photo-1500033000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-35', + name: 'Lily Watson', + email: 'lily.watson@place.tech', + first_name: 'Lily', + last_name: 'Watson', + phone: '+61 8 2670 1833', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0035', + image: 'https://images.unsplash.com/photo-1500034000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-36', + name: 'Oscar Murphy', + email: 'oscar.murphy@place.tech', + first_name: 'Oscar', + last_name: 'Murphy', + phone: '+61 3 7473 4544', + department: 'Sales', + groups: ['staff', 'sales', 'manager'], + staff_id: 'EMP0036', + image: 'https://images.unsplash.com/photo-1500035000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-37', + name: 'Chloe Edwards', + email: 'chloe.edwards@place.tech', + first_name: 'Chloe', + last_name: 'Edwards', + phone: '+61 9 2149 7403', + department: 'Marketing', + groups: ['staff', 'marketing'], + staff_id: 'EMP0037', + image: 'https://images.unsplash.com/photo-1500036000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-38', + name: 'Ethan Roberts', + email: 'ethan.roberts@place.tech', + first_name: 'Ethan', + last_name: 'Roberts', + phone: '+61 3 5592 8787', + department: 'Finance', + groups: ['staff', 'finance'], + staff_id: 'EMP0038', + image: 'https://images.unsplash.com/photo-1500037000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-39', + name: 'Mia Turner', + email: 'mia.turner@place.tech', + first_name: 'Mia', + last_name: 'Turner', + phone: '+61 8 3058 7000', + department: 'Human Resources', + groups: ['staff', 'human-resources'], + staff_id: 'EMP0039', + image: 'https://images.unsplash.com/photo-1500038000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-40', + name: 'Logan Phillips', + email: 'logan.phillips@place.tech', + first_name: 'Logan', + last_name: 'Phillips', + phone: '+61 9 3232 1464', + department: 'Operations', + groups: ['staff', 'operations'], + staff_id: 'EMP0040', + image: 'https://images.unsplash.com/photo-1500039000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-41', + name: 'Aria Cooper', + email: 'aria.cooper@place.tech', + first_name: 'Aria', + last_name: 'Cooper', + phone: '+61 2 3753 4450', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0041', + image: 'https://images.unsplash.com/photo-1500040000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-42', + name: 'Felix Morgan', + email: 'felix.morgan@place.tech', + first_name: 'Felix', + last_name: 'Morgan', + phone: '+61 3 2832 8074', + department: 'Product', + groups: ['staff', 'product', 'manager'], + staff_id: 'EMP0042', + image: 'https://images.unsplash.com/photo-1500041000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-43', + name: 'Ruby Bailey', + email: 'ruby.bailey@place.tech', + first_name: 'Ruby', + last_name: 'Bailey', + phone: '+61 3 6794 6974', + department: 'Customer Success', + groups: ['staff', 'customer-success', 'manager'], + staff_id: 'EMP0043', + image: 'https://images.unsplash.com/photo-1500042000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-44', + name: 'Caleb Reed', + email: 'caleb.reed@place.tech', + first_name: 'Caleb', + last_name: 'Reed', + phone: '+61 4 5484 7922', + department: 'IT', + groups: ['staff', 'it'], + staff_id: 'EMP0044', + image: 'https://images.unsplash.com/photo-1500043000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-45', + name: 'Luna Howard', + email: 'luna.howard@place.tech', + first_name: 'Luna', + last_name: 'Howard', + phone: '+61 4 8438 7444', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0045', + image: 'https://images.unsplash.com/photo-1500044000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-46', + name: 'Mason Cox', + email: 'mason.cox@place.tech', + first_name: 'Mason', + last_name: 'Cox', + phone: '+61 9 4723 1620', + department: 'Research & Development', + groups: ['staff', 'research-&-development'], + staff_id: 'EMP0046', + image: 'https://images.unsplash.com/photo-1500045000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-47', + name: 'Hazel Ward', + email: 'hazel.ward@place.tech', + first_name: 'Hazel', + last_name: 'Ward', + phone: '+61 4 7339 8711', + department: 'Legal', + groups: ['staff', 'legal', 'manager'], + staff_id: 'EMP0047', + image: 'https://images.unsplash.com/photo-1500046000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-48', + name: 'Theo Torres', + email: 'theo.torres@place.tech', + first_name: 'Theo', + last_name: 'Torres', + phone: '+61 7 7472 1448', + department: 'Sales', + groups: ['staff', 'sales'], + staff_id: 'EMP0048', + image: 'https://images.unsplash.com/photo-1500047000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-49', + name: 'Violet Peterson', + email: 'violet.peterson@place.tech', + first_name: 'Violet', + last_name: 'Peterson', + phone: '+61 7 6345 3077', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0049', + image: 'https://images.unsplash.com/photo-1500048000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-50', + name: 'Julian Gray', + email: 'julian.gray@place.tech', + first_name: 'Julian', + last_name: 'Gray', + phone: '+61 2 4701 5065', + department: 'Finance', + groups: ['staff', 'finance'], + staff_id: 'EMP0050', + image: 'https://images.unsplash.com/photo-1500049000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-51', + name: 'Nova James', + email: 'nova.james@place.tech', + first_name: 'Nova', + last_name: 'James', + phone: '+61 9 9102 1375', + department: 'Human Resources', + groups: ['staff', 'human-resources'], + staff_id: 'EMP0051', + image: 'https://images.unsplash.com/photo-1500050000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-52', + name: 'Blake Watson', + email: 'blake.watson@place.tech', + first_name: 'Blake', + last_name: 'Watson', + phone: '+61 7 5269 5672', + department: 'Operations', + groups: ['staff', 'operations'], + staff_id: 'EMP0052', + image: 'https://images.unsplash.com/photo-1500051000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-53', + name: 'Ivy Brooks', + email: 'ivy.brooks@place.tech', + first_name: 'Ivy', + last_name: 'Brooks', + phone: '+61 3 9071 1173', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0053', + image: 'https://images.unsplash.com/photo-1500052000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-54', + name: 'Axel Fisher', + email: 'axel.fisher@place.tech', + first_name: 'Axel', + last_name: 'Fisher', + phone: '+61 4 6715 5037', + department: 'Product', + groups: ['staff', 'product'], + staff_id: 'EMP0054', + image: 'https://images.unsplash.com/photo-1500053000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-55', + name: 'Sage Bennett', + email: 'sage.bennett@place.tech', + first_name: 'Sage', + last_name: 'Bennett', + phone: '+61 5 6785 1386', + department: 'Customer Success', + groups: ['staff', 'customer-success'], + staff_id: 'EMP0055', + image: 'https://images.unsplash.com/photo-1500054000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-56', + name: 'Kai Powell', + email: 'kai.powell@place.tech', + first_name: 'Kai', + last_name: 'Powell', + phone: '+61 7 4862 6517', + department: 'IT', + groups: ['staff', 'it'], + staff_id: 'EMP0056', + image: 'https://images.unsplash.com/photo-1500055000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-57', + name: 'Raven Long', + email: 'raven.long@place.tech', + first_name: 'Raven', + last_name: 'Long', + phone: '+61 2 7457 8470', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0057', + image: 'https://images.unsplash.com/photo-1500056000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-58', + name: 'Phoenix Hughes', + email: 'phoenix.hughes@place.tech', + first_name: 'Phoenix', + last_name: 'Hughes', + phone: '+61 4 4318 6192', + department: 'Research & Development', + groups: ['staff', 'research-&-development'], + staff_id: 'EMP0058', + image: 'https://images.unsplash.com/photo-1500057000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-59', + name: 'River Price', + email: 'river.price@place.tech', + first_name: 'River', + last_name: 'Price', + phone: '+61 7 4114 2176', + department: 'Legal', + groups: ['staff', 'legal'], + staff_id: 'EMP0059', + image: 'https://images.unsplash.com/photo-1500058000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-60', + name: 'Atlas Sanders', + email: 'atlas.sanders@place.tech', + first_name: 'Atlas', + last_name: 'Sanders', + phone: '+61 6 5471 6487', + department: 'Sales', + groups: ['staff', 'sales'], + staff_id: 'EMP0060', + image: 'https://images.unsplash.com/photo-1500059000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-61', + name: 'Willow Ross', + email: 'willow.ross@place.tech', + first_name: 'Willow', + last_name: 'Ross', + phone: '+61 4 7935 7555', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0061', + image: 'https://images.unsplash.com/photo-1500060000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-62', + name: 'Orion Morris', + email: 'orion.morris@place.tech', + first_name: 'Orion', + last_name: 'Morris', + phone: '+61 5 2089 6410', + department: 'Finance', + groups: ['staff', 'finance'], + staff_id: 'EMP0062', + image: 'https://images.unsplash.com/photo-1500061000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-63', + name: 'Ember Rogers', + email: 'ember.rogers@place.tech', + first_name: 'Ember', + last_name: 'Rogers', + phone: '+61 4 7464 7600', + department: 'Human Resources', + groups: ['staff', 'human-resources'], + staff_id: 'EMP0063', + image: 'https://images.unsplash.com/photo-1500062000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-64', + name: 'Juno Reed', + email: 'juno.reed@place.tech', + first_name: 'Juno', + last_name: 'Reed', + phone: '+61 3 7533 7510', + department: 'Operations', + groups: ['staff', 'operations', 'manager'], + staff_id: 'EMP0064', + image: 'https://images.unsplash.com/photo-1500063000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-65', + name: 'Zara Cook', + email: 'zara.cook@place.tech', + first_name: 'Zara', + last_name: 'Cook', + phone: '+61 7 3885 8250', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0065', + image: 'https://images.unsplash.com/photo-1500064000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-66', + name: 'Leo Morgan', + email: 'leo.morgan@place.tech', + first_name: 'Leo', + last_name: 'Morgan', + phone: '+61 8 8564 2359', + department: 'Product', + groups: ['staff', 'product'], + staff_id: 'EMP0066', + image: 'https://images.unsplash.com/photo-1500065000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-67', + name: 'Iris Bailey', + email: 'iris.bailey@place.tech', + first_name: 'Iris', + last_name: 'Bailey', + phone: '+61 3 7753 8687', + department: 'Customer Success', + groups: ['staff', 'customer-success'], + staff_id: 'EMP0067', + image: 'https://images.unsplash.com/photo-1500066000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-68', + name: 'Finn Rivera', + email: 'finn.rivera@place.tech', + first_name: 'Finn', + last_name: 'Rivera', + phone: '+61 3 4359 9147', + department: 'IT', + groups: ['staff', 'it'], + staff_id: 'EMP0068', + image: 'https://images.unsplash.com/photo-1500067000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-69', + name: 'Aurora Cooper', + email: 'aurora.cooper@place.tech', + first_name: 'Aurora', + last_name: 'Cooper', + phone: '+61 4 9317 5501', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0069', + image: 'https://images.unsplash.com/photo-1500068000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-70', + name: 'Xavier Richardson', + email: 'xavier.richardson@place.tech', + first_name: 'Xavier', + last_name: 'Richardson', + phone: '+61 4 9342 1129', + department: 'Research & Development', + groups: ['staff', 'research-&-development'], + staff_id: 'EMP0070', + image: 'https://images.unsplash.com/photo-1500069000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-71', + name: 'Skye Cox', + email: 'skye.cox@place.tech', + first_name: 'Skye', + last_name: 'Cox', + phone: '+61 9 6377 1026', + department: 'Legal', + groups: ['staff', 'legal'], + staff_id: 'EMP0071', + image: 'https://images.unsplash.com/photo-1500070000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-72', + name: 'Knox Howard', + email: 'knox.howard@place.tech', + first_name: 'Knox', + last_name: 'Howard', + phone: '+61 5 4027 2941', + department: 'Sales', + groups: ['staff', 'sales', 'manager'], + staff_id: 'EMP0072', + image: 'https://images.unsplash.com/photo-1500071000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-73', + name: 'Luna Ward', + email: 'luna.ward@place.tech', + first_name: 'Luna', + last_name: 'Ward', + phone: '+61 8 4923 9758', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0073', + image: 'https://images.unsplash.com/photo-1500072000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-74', + name: 'Sage Torres', + email: 'sage.torres@place.tech', + first_name: 'Sage', + last_name: 'Torres', + phone: '+61 3 4057 7666', + department: 'Finance', + groups: ['staff', 'finance'], + staff_id: 'EMP0074', + image: 'https://images.unsplash.com/photo-1500073000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-75', + name: 'Phoenix Peterson', + email: 'phoenix.peterson@place.tech', + first_name: 'Phoenix', + last_name: 'Peterson', + phone: '+61 9 2835 9956', + department: 'Human Resources', + groups: ['staff', 'human-resources'], + staff_id: 'EMP0075', + image: 'https://images.unsplash.com/photo-1500074000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-76', + name: 'River Gray', + email: 'river.gray@place.tech', + first_name: 'River', + last_name: 'Gray', + phone: '+61 8 6501 8906', + department: 'Operations', + groups: ['staff', 'operations', 'manager'], + staff_id: 'EMP0076', + image: 'https://images.unsplash.com/photo-1500075000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-77', + name: 'Atlas James', + email: 'atlas.james@place.tech', + first_name: 'Atlas', + last_name: 'James', + phone: '+61 6 1125 6409', + department: 'Engineering', + groups: ['staff', 'engineering'], + staff_id: 'EMP0077', + image: 'https://images.unsplash.com/photo-1500076000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-78', + name: 'Willow Watson', + email: 'willow.watson@place.tech', + first_name: 'Willow', + last_name: 'Watson', + phone: '+61 7 6277 6529', + department: 'Product', + groups: ['staff', 'product', 'manager'], + staff_id: 'EMP0078', + image: 'https://images.unsplash.com/photo-1500077000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-79', + name: 'Orion Brooks', + email: 'orion.brooks@place.tech', + first_name: 'Orion', + last_name: 'Brooks', + phone: '+61 8 9921 5081', + department: 'Customer Success', + groups: ['staff', 'customer-success', 'manager'], + staff_id: 'EMP0079', + image: 'https://images.unsplash.com/photo-1500078000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-80', + name: 'Ember Fisher', + email: 'ember.fisher@place.tech', + first_name: 'Ember', + last_name: 'Fisher', + phone: '+61 3 7877 4824', + department: 'IT', + groups: ['staff', 'it', 'manager'], + staff_id: 'EMP0080', + image: 'https://images.unsplash.com/photo-1500079000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-81', + name: 'Juno Bennett', + email: 'juno.bennett@place.tech', + first_name: 'Juno', + last_name: 'Bennett', + phone: '+61 2 3665 3421', + department: 'Design', + groups: ['staff', 'design'], + staff_id: 'EMP0081', + image: 'https://images.unsplash.com/photo-1500080000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-82', + name: 'Nova Powell', + email: 'nova.powell@place.tech', + first_name: 'Nova', + last_name: 'Powell', + phone: '+61 6 7608 9921', + department: 'Research & Development', + groups: ['staff', 'research-&-development', 'manager'], + staff_id: 'EMP0082', + image: 'https://images.unsplash.com/photo-1500081000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-83', + name: 'Blake Long', + email: 'blake.long@place.tech', + first_name: 'Blake', + last_name: 'Long', + phone: '+61 4 5983 8988', + department: 'Legal', + groups: ['staff', 'legal', 'manager'], + staff_id: 'EMP0083', + image: 'https://images.unsplash.com/photo-1500082000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-84', + name: 'Ivy Hughes', + email: 'ivy.hughes@place.tech', + first_name: 'Ivy', + last_name: 'Hughes', + phone: '+61 5 2373 4109', + department: 'Sales', + groups: ['staff', 'sales', 'manager'], + staff_id: 'EMP0084', + image: 'https://images.unsplash.com/photo-1500083000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'staff-85', + name: 'Axel Price', + email: 'axel.price@place.tech', + first_name: 'Axel', + last_name: 'Price', + phone: '+61 3 3161 4638', + department: 'Marketing', + groups: ['staff', 'marketing', 'manager'], + staff_id: 'EMP0085', + image: 'https://images.unsplash.com/photo-1500084000000?w=150&h=150&fit=crop&crop=face', + sys_admin: false, + }, + { + id: 'current', + name: 'Sarah Chen', + email: 'sarah.chen@place.tech', + first_name: 'Sarah', + last_name: 'Chen', + phone: '+61 2 9876 5432', + department: 'Engineering', + groups: ['staff', 'engineering', 'senior'], + image: 'https://images.unsplash.com/photo-1494790108755-2616b9ce2c62?w=150&h=150&fit=crop&crop=face', + sys_admin: true, + }, + ], + current_user_id: 'staff-1', +}; diff --git a/src/app/mocks/data/zones.ts b/src/app/mocks/data/zones.ts deleted file mode 100644 index e0eae2096..000000000 --- a/src/app/mocks/data/zones.ts +++ /dev/null @@ -1,822 +0,0 @@ -export const ZONES = [ - { - name: 'Place Technology', - description: 'org', - tags: ['org'], - settings: { - touch_enabled: false, - discovery_info: { - settings: { - title: 'Place Technology', - name: 'Place Technology', - description: - 'Place Technology Staff Application made in Angular 5+', - short_name: 'Towers', - code: 'TOWERS', - login: { forgot: false }, - analytics: { enabled: false, tracking_id: '' }, - logo: { - type: 'icon', - src: 'icon-Logo-Long', - background: '', - }, - copyright: 'Copyright 2018 PlaceOS', - routing: false, - orgs: true, - style: { popout: false }, - users: { - visitors: false, - external: true, - can_add: true, - custom_orgs: false, - locate: true, - store: false, - }, - schedule: { - hide_visitor_bookings: true, - enabled: true, - visitors: true, - new_visitors: false, - edit_visitors: true, - contacts: false, - popout: false, - }, - route_settings: { book: 'booking' }, - lockers: { enabled: true, simple_filters: false }, - hide: { heading: false }, - home: { background: '', disclaimer: '' }, - wifi: { background: 'assets/img/skyline.jpg' }, - tiles: [ - { - id: 'book/room', - name: 'Spaces', - color: '#fff', - img: 'assets/img/menu/book.svg', - settings: 'booking', - query: { back: false }, - }, - { - id: 'schedule', - name: 'My Activities', - color: '#fff', - img: 'assets/img/menu/schedule.svg', - }, - { - id: 'catering', - name: 'Services', - color: '#fff', - img: 'assets/img/menu/services.svg', - settings: 'catering', - }, - { - id: 'chat', - name: 'Concierge', - color: '#fff', - img: 'assets/img/menu/concierge.svg', - }, - { - id: 'visitor', - name: 'Visitors', - color: '#fff', - icon: { value: 'face' }, - settings: 'visitors', - }, - { - id: 'explore/spaces', - name: 'Way finding', - color: '#fff', - img: 'assets/img/menu/explore.svg', - settings: 'explore', - }, - { - id: 'control', - name: 'Control', - color: '#fff', - icon: { - value: 'settings_remote', - }, - }, - ], - zones: { enabled: false, toggle: 'room' }, - booking: { - min_attendees: 1, - external_visitors: false, - recurrence: false, - limit: 12, - max_length: 480, - min_length: 15, - room_select: false, - title_prefix: '', - charge: true, - terms: true, - old_filters: false, - privacy: false, - control: false, - lock_cancel: 120, - external_floors: [], - return_id: 'schedule', - banner: { enabled: true, links: [] }, - }, - visitors: { - banner: { - enabled: false, - src: 'assets/img/banner2.jpg', - links: [ - { - id: 'book/room', - name: 'Book Spaces', - query: { back: false }, - }, - { id: 'catering', name: 'Book Catering' }, - { id: 'lockers', name: 'Book Lockers' }, - ], - }, - }, - explore: { - old_overlay: false, - cblf: false, - control: false, - banner: { - search: true, - roles: true, - src: 'assets/img/banner.jpg', - }, - }, - control: { - banner: { search: false, src: 'assets/img/banner.jpg' }, - }, - people_min_char: 0, - catering: { enabled: true, banner: { links: [] } }, - colors: { - rooms: { - available: '#9cbe82', - unavailable: '#be8c64', - 'not-bookable': '#e6e6e6', - pin: '#e96e20', - }, - desks: { - 'available-fill': '#8cd4da', - 'available-stroke': '#6ab2af', - 'unavailable-fill': '#ec9d99', - 'unavailable-stroke': '#ca7b77', - 'reserved-fill': '#FF9800', - 'reserved-stroke': '#E65100', - 'not-bookable-fill': '#e6e6e6', - 'not-bookable-stroke': '#c4c4c4', - }, - }, - help: { - type: '', - banner: { enabled: false }, - disclaimer: '', - tiles: [ - { - name: 'AV Support', - description: '', - src: '', - color: '', - link: 'https://www.google.com', - }, - { - name: 'IT Help', - description: '', - src: '', - color: '', - link: 'https://www.acaprojects.com', - }, - { - name: 'Emergency Contact', - description: '', - src: '', - color: '', - link: 'https://www.ses.nsw.gov.au', - }, - { - name: 'Website', - description: '', - src: '', - color: '', - link: 'https://www.acaprojects.com', - }, - ], - }, - map: { - simple: true, - info: false, - settings: false, - bookings: false, - keys: {}, - }, - }, - buildings: [ - { - name: 'Barangaroo Tower 2', - zone_id: 'zone-Kl0HN~nDwc', - orientations: { landscape: 0 }, - }, - ], - }, - }, - triggers: [], - created_at: 1494571161, - id: 'zone-Kl0E0HmCJ3', - }, - { - name: 'L30 Activity Spaces', - description: null, - tags: [], - settings: { - mics: [{ name: 'Soundbar Mic', id: 'mic', basic_mixer: true }], - inputs: ['Wireless', 'Laptop', 'Web Conference', 'Tele Conference'], - Laptop: ['laptop_hdmi'], - Wireless: ['wepresent'], - 'Web Conference': ['webconf'], - 'Tele Conference': ['teleconference'], - sources: { - wepresent: { - title: 'Clickshare', - source: 'hdmi2', - type: 'wireless', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - laptop_hdmi: { - title: 'Laptop', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - webconf: { - title: 'Web Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - teleconference: { - title: 'Tele Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { - module: 'Mixer_1', - method: 'source', - args: ['bluetooth'], - }, - ], - }, - }, - touch_enabled: false, - outputs: { - Display_1: { - title: 'Display', - type: 'lcd', - pri: 1, - basic_mixer: true, - mixer_id: 'output', - custom_tasks: [ - { - module: 'Display_1', - method: 'volume', - args: ['100'], - }, - { - module: 'Display_1', - method: 'speaker_select', - args: ['external'], - }, - ], - shutdown: { - module: 'Display_1', - method: 'speaker_select', - args: ['internal'], - }, - }, - }, - vol_min: 0, - vol_max: 100, - defaults: { output_level: 80 }, - lighting_group: 1, - }, - triggers: [], - created_at: 1543374809, - id: 'zone-iIdF20naW0', - parent_id: 'zone-LEHeo501Er', - }, - { - name: 'L31 Activity Spaces', - description: '', - tags: [], - settings: { - mics: [{ name: 'Soundbar Mic', id: 'mic', basic_mixer: true }], - inputs: ['Wireless', 'Laptop', 'Web Conference', 'Tele Conference'], - Laptop: ['laptop_hdmi'], - Wireless: ['wepresent'], - 'Web Conference': ['webconf'], - 'Tele Conference': ['teleconference'], - sources: { - wepresent: { - title: 'Clickshare', - source: 'dvi', - type: 'wireless', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - laptop_hdmi: { - title: 'Laptop', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - webconf: { - title: 'Web Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['usb'] }, - ], - }, - teleconference: { - title: 'Tele Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { - module: 'Mixer_1', - method: 'source', - args: ['bluetooth'], - }, - ], - }, - }, - touch_enabled: false, - outputs: { - Display_1: { - title: 'Display', - type: 'lcd', - pri: 1, - basic_mixer: true, - mixer_id: 'output', - custom_tasks: [ - { - module: 'Display_1', - method: 'volume', - args: ['100'], - }, - { - module: 'Display_1', - method: 'speaker_select', - args: ['external'], - }, - ], - shutdown: { - module: 'Display_1', - method: 'speaker_select', - args: ['internal'], - }, - }, - }, - vol_min: 0, - vol_max: 100, - lighting_group: 1, - }, - triggers: ['trigger-WzXonXrB4G'], - created_at: 1519368108, - id: 'zone-WjDE_sLQy8', - parent_id: 'zone-QjLXbYUxuC', - }, - { - name: 'L31 Multifunction: 31.22', - description: null, - tags: [], - settings: { - rooms: ['sys-beGO1NjTjy', 'sys-beJ1G79tKo'], - ignore_modes: true, - ignore_joining: true, - inputs: ['Wireless', 'Laptop', 'Web Conference', 'Camera'], - Laptop: ['floorbox_left'], - Wireless: ['wepresent_left'], - 'Web Conference': ['webconf'], - Camera: ['camera'], - sources: { - wepresent_left: { - title: 'Clickshare', - input: 1, - type: 'wireless', - }, - wepresent_right: { - title: 'Clickshare', - input: 2, - type: 'wireless', - }, - floorbox_left: { - title: 'Left Table Input', - type: 'aux_hdmi', - input: 7, - }, - floorbox_right: { - title: 'Right Table Input', - type: 'aux_hdmi', - input: 8, - }, - webconf: { - title: 'Web Conference', - source: 'hdmi', - input: 7, - type: 'aux_hdmi', - }, - camera: { - title: 'Camera front', - type: 'vc-camera', - mod: 'Camera', - index: 1, - ignore: true, - }, - }, - touch_enabled: false, - vol_min: -400, - vol_mx: 200, - doors: [{ title: 'Doors', module: 'Door_1', feedback: 'relay1' }], - }, - triggers: [], - created_at: 1529567548, - id: 'zone-beI-19FMdl', - parent_id: 'zone-QjLXbYUxuC', - }, - { - name: 'L31 R7 Activity Space', - description: null, - tags: [], - settings: { - mics: [{ name: 'Soundbar Mic', id: 'mic', basic_mixer: true }], - inputs: ['Wireless', 'Laptop', 'Web Conference', 'Tele Conference'], - Laptop: ['laptop_hdmi'], - Wireless: ['wepresent'], - 'Web Conference': ['webconf'], - 'Tele Conference': ['teleconference'], - sources: { - wepresent: { - title: 'Clickshare', - source: 'hdmi2', - type: 'wireless', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - laptop_hdmi: { - title: 'Laptop', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['aux'] }, - ], - }, - webconf: { - title: 'Web Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { module: 'Mixer_1', method: 'source', args: ['usb'] }, - ], - }, - teleconference: { - title: 'Tele Conference', - source: 'hdmi', - type: 'aux_hdmi', - custom_tasks: [ - { - module: 'Mixer_1', - method: 'source', - args: ['bluetooth'], - }, - ], - }, - }, - touch_enabled: false, - outputs: { - Display_1: { - title: 'Display', - type: 'lcd', - pri: 1, - basic_mixer: true, - mixer_id: 'output', - custom_tasks: [ - { - module: 'Display_1', - method: 'volume', - args: ['100'], - }, - { - module: 'Display_1', - method: 'speaker_select', - args: ['external'], - }, - ], - shutdown: { - module: 'Display_1', - method: 'speaker_select', - args: ['internal'], - }, - }, - }, - vol_min: 0, - vol_max: 100, - lighting_group: 1, - }, - triggers: [], - created_at: 1547438444, - id: 'zone-kG8cn_fkH9', - parent_id: 'zone-QjLXbYUxuC', - }, - { - name: 'Level 30', - description: 'level', - tags: ['level'], - settings: { discovery_info: {}, number: 30 }, - triggers: [], - created_at: 1495599360, - id: 'zone-LEHeo501Er', - parent_id: 'zone-Kl0HN~nDwc', - }, - { - name: 'Level 31', - description: 'level', - tags: ['level'], - settings: { number: 31, discovery_info: {} }, - triggers: [], - created_at: 1506945022, - id: 'zone-QjLXbYUxuC', - parent_id: 'zone-Kl0HN~nDwc', - }, - { - name: 'New Zone', - description: null, - tags: [], - settings: { booking_max_duration: 900 }, - triggers: [], - created_at: 1550546496, - id: 'zone-lmhh_hVfz0', - }, - { - name: 'Tower 2', - description: 'building', - tags: ['building'], - settings: { - discovery_info: { - locker_locations: { - 'zone-QjLXbYUxuC': { West: [100, 200], East: [201, 300] }, - }, - concierge_phone: '+61431485594', - messaging: 'sys-O8kPamShYv', - visitor_space: 'towertwovisitors@place.tech', - locker_structure: { - 'zone-Mhr8gKmcSS': { - City: { - personal: [ - ['31001', '31002', '31003', '31004'], - ['31005', '31006', '31007', '31008'], - [false, false, '31011', '31012'], - ['31013', '31014', '31015', '31016'], - ['31017', '31018', '31019', '31020'], - ['31021', '31022', '31023', '31024'], - ['31025', '31026', '31027', '31028'], - ['31029', '31030', '31031', '31032'], - ['31033', '31034', '31035', '31036'], - [false, false, '31039', '31040'], - ['31041', '31042', '31043', '31044'], - ['31045', '31046', '31047', '31048'], - ['31049', '31050', '31051', '31052'], - ['31053', '31054', '31055', '31056'], - ['31057', '31058', '31059', '31060'], - ['31061', '31062', '31063', '31064'], - ['31065', '31066', '31067', '31068'], - ['31069', '31070', '31071', '31072'], - ['31073', '31074', '31075', '31076'], - ['31077', '31078', '31079', '31080'], - ['31081', '31082', '31083', '31084'], - ['31085', '31086', '31087', '31088'], - ['31089', '31090', '31091', '31092'], - ['31093', '31094', '31095', '31096'], - ['31097', '31098', '31099', '31100'], - ['31101', '31102', '31103', '31104'], - ['31105', '31106', '31107', '31108'], - ['31109', '31110', '31111', '31112'], - ['31113', '31114', '31115', '31116'], - [false, false, '31119', '31120'], - ['31121', '31122', '31123', '31124'], - ['31125', '31126', '31127', '31128'], - ], - pantry: [ - ['31501', '31502'], - ['31503', '31504'], - ['31505', '31506'], - ['31507', false, false, false, false], - ['31508', false, false, false, false], - ['31509', false, false, false, false], - ['31510', false, false, false, false], - ['31511', false, false, false, false], - ['31512', false, false, false, false], - ['31513', false, false, '31515', false], - ['31514', false, false, '31516', false], - ['31517', '31518'], - ['31519', '31520'], - ['31521'], - ['31522'], - ], - }, - Harbour: { - personal: [ - ['31129', '31130', '31131', '31132'], - ['31133', '31134', '31135', '31136'], - [false, false, '31139', '31140'], - ['31141', '31142', '31143', '31144'], - ['31145', '31146', '31147', '31148'], - ['31149', '31150', '31151', '31152'], - ['31153', '31154', '31155', '31156'], - ['31157', '31158', '31159', '31160'], - ['31161', '31162', '31163', '31164'], - ['31165', '31166', '31167', '31168'], - ['31169', '31170', '31171', '31172'], - ['31173', '31174', '31175', '31176'], - ['31177', '31178', '31179', '31180'], - ['31181', '31182', '31183', '31184'], - ['31185', '31186', '31187', '31188'], - ['31189', '31190', '31191', '31192'], - ['31193', '31194', '31195', '31196'], - ['31197', '31198', '31199', '31200'], - ['31201', '31202', '31203', '31204'], - ['31205', '31206', '31207', '31208'], - ['31209', '31210', '31211', '31212'], - ['31213', '31214', '31215', '31216'], - [false, false, '31219', '31220'], - ['31221', '31222', '31223', '31224'], - ['31225', '31226', '31227', '31228'], - ], - }, - }, - }, - terms: [ - { - title: 'Room bookings', - details: - "Please release booked meeting rooms or spaces when you don't need them anymore, so everyone else knows they're free.", - }, - { - title: 'Noise levels', - details: - 'Please be considerate of others and keep the volume down when having conversations or conference calls.', - }, - { - title: 'Be considerate', - details: - "When you've finished using a space, please ensure it is left clean and tidy for the next person.", - }, - { - title: 'Centralised waste management', - details: - "We're part of one of the most sustainable commercial precincts in the world. Please make an effort to place the right waste into the right bins, located in the Pantries.", - }, - { - title: 'Lost and found', - details: - 'Any personal or team items left behind in activity rooms or communal spaces will be taken to "Lost and found" at the concierge points.', - }, - { - title: 'Invoice Statement', - details: - 'For every confirmed booking, you will receive invoice statement via email for your record.', - }, - { - title: 'Billing', - details: - 'Monthly invoice will be issued by 20th of every month for previous month. Invoice is due by end of the month it is issued.', - }, - ], - levels: [ - { - level_id: 'zone-QjLXbYUxuC', - level_name: 'Level 31', - map_url: 'assets/maps/barangaroo_tower_2/level_31.svg', - }, - { - level_id: 'zone-LEHeo501Er', - level_name: 'Level 30', - map_url: 'assets/maps/barangaroo_tower_2/level_30.svg', - }, - ], - extras: [ - { - extra_id: 'video_conference', - extra_name: 'Video Conference', - }, - { - extra_id: 'presentation_screen', - extra_name: 'Presentation Screen', - }, - ], - catering: { - coffee: [ - { - items: [ - 'Cappucino', - 'Expresso', - 'Flat White', - 'Mocha', - ], - }, - { - items: [ - 'Hot Choc', - 'Macciato', - 'Latte', - 'Long Black', - ], - }, - { - items: [ - 'Green Tea', - 'Camomile', - 'English Tea', - 'Black Tea', - ], - }, - { - items: ['Almond', 'Skim', 'Soy', 'Full Cream'], - tag: 'milk', - }, - { - items: ['Brown', 'Equal', 'Honey', 'White'], - tag: 'sugar', - amount: 0.5, - }, - ], - drinks: [ - { items: ['Coke', 'Sprite', 'Fanta', 'Lift'] }, - { - items: [ - 'Orange Juice', - 'Apple Juice', - 'Breakfast Juice', - 'Prune Juice', - ], - }, - { - items: [ - 'Tap Water', - 'Still Water', - 'Sparkling Water', - 'Mineral Water', - ], - }, - { items: ['Beer', 'Light Beer', 'Wine', 'Champagne'] }, - ], - food: [ - { - items: [ - 'Bruschetta', - 'Chicken Burger', - 'Eggs Blini', - 'French Toast', - ], - }, - { - items: [ - 'Spaghetti Bolognese', - 'Linguine Pesto', - 'Chorizo Farfalle', - 'Chicken Tortellini', - ], - }, - { - items: [ - 'Scallop Ceviche', - 'Herb Gnicchi', - 'Duck Salad', - 'Beef Brisket', - ], - }, - { - items: [ - 'Rainbow Roll', - 'Tiger Roll', - 'Spider Roll', - 'Ocean Roll', - ], - }, - ], - }, - }, - }, - triggers: [], - created_at: 1494571187, - id: 'zone-Kl0HN~nDwc', - parent_id: 'zone-Kl0E0HmCJ3', - }, -];