export const mockPage = { "descriptionKey": "mock.va-p26b.interim.description", "id": "va-p26b-customer-portal-interim", "registries": { "breadcrumbs": [ { "href": "/:tenant", "id": "portal", "labelKey": "mock.va-p26a.interim.nav.dashboard" }, { "href": "/:tenant/upload", "id": "upload", "labelKey": "mock.va-p26b.interim.nav.upload" } ], "portals": [ { "id": "customer-portal-p26b", "labelKey": "mock.va-p26b.interim.title", "order": 1, "slot": "customer-portal" } ], "sidebar": [ { "href": "/:tenant/upload", "id": "va-p26b-upload", "labelKey": "mock.va-p26b.interim.nav.upload" }, { "href": "/:tenant/settings", "id": "va-p26b-settings", "labelKey": "mock.va-p26b.interim.nav.settings" }, { "href": "/:tenant/settings/customer-portal", "id": "va-p26b-admin", "labelKey": "mock.va-p26b.interim.nav.admin" } ] }, "route": "/:tenant/upload", "state": { "data": { "activity": [ { "labelKey": "mock.va-p26b.interim.activity.upload", "meta": "multi-file + AV" }, { "labelKey": "mock.va-p26b.interim.activity.complaint", "meta": "portal_form" }, { "labelKey": "mock.va-p26b.interim.activity.subcontractor", "meta": "project-isolated" }, { "labelKey": "mock.va-p26b.interim.activity.inbox", "meta": "7-day persistent" }, { "labelKey": "mock.va-p26b.interim.activity.lifecycle", "meta": "export + delete" } ], "cards": [ { "labelKey": "mock.va-p26b.interim.metrics.routes", "trend": "flat", "value": "5" }, { "labelKey": "mock.va-p26b.interim.metrics.viewModels", "trend": "flat", "value": "3" }, { "labelKey": "mock.va-p26b.interim.metrics.inbox", "trend": "flat", "value": "2" } ], "designStatus": "interim", "screenRoutes": [ "/:tenant/upload", "/:tenant/projects/:projectId", "/:tenant/settings", "/:tenant/settings/customer-portal", "/:tenant/customer-portal/inbox" ], "surfaces": [ "interactions", "lifecycle", "admin" ], "viewModels": { "admin": { "data": { "accessRows": [ { "active": true, "canSeeOtherSubcontractors": false, "canUpload": true, "companyName": "Subbau GmbH", "id": "access-1", "portalUserId": "portal-subcontractor", "portalUserLabel": "Sven Subunternehmen", "projectId": "project-1", "projectLabel": "P-1001 · Heizung Familie Kunde", "roleLabel": "Elektrik", "validUntil": "2026-08-16T23:59:59.999Z", "viewerKind": "subcontractor", "visibleDocumentTypes": [ "installation_plan" ], "visibleStageIds": [ "stage-installation" ] } ], "autoReleaseRules": [ { "documentType": "invoice", "enabled": true, "id": "rule-1", "projectType": "installation" } ], "configuration": { "autoReleaseRuleCount": 1, "brandingLogoConfigured": false, "brandingLogoPreviewHref": null, "emailTemplateHref": "/acme/settings/customer-portal/email-templates", "enabledProjectTypes": [ "installation" ], "imprintUrl": "https://example.test/impressum", "inactivityDisableMonths": 24, "legalLinksComplete": true, "lifecycleMode": "project", "privacyUrl": "https://example.test/datenschutz", "projectAutoCloseMonths": 12, "published": true, "statusEmailsEnabled": true, "termsUrl": "https://example.test/agb", "uploadMaxFiles": 10, "uploadMaxFileSizeBytes": 52428800, "visibleStageCount": 1 }, "frozen": false, "inbox": [ { "bundledCount": 1, "expiresAt": "2026-07-23T09:45:00.000Z", "id": "inbox-complaint", "kind": "complaint", "occurredAt": "2026-07-16T09:45:00.000Z", "ownerLabel": "Projektleitung", "portalUserLabel": "Karla Kunde", "priority": 400, "projectLabel": "P-1001 · Heizung Familie Kunde", "status": "open", "titleKey": "customerPortal.admin.inbox.kinds.complaint" }, { "bundledCount": 3, "expiresAt": "2026-07-23T09:30:00.000Z", "id": "inbox-upload", "kind": "upload", "occurredAt": "2026-07-16T09:30:00.000Z", "ownerLabel": null, "portalUserLabel": "Karla Kunde", "priority": 300, "projectLabel": "P-1001 · Heizung Familie Kunde", "status": "open", "titleKey": "customerPortal.admin.inbox.kinds.upload" } ], "permissions": { "canAdminister": true, "canDeleteUsers": true, "canManageAccess": true, "canManageActivity": true, "canManageUsers": true, "canRead": true, "canReadActivity": true }, "projectOptions": [ { "id": "project-1", "label": "P-1001 · Heizung Familie Kunde", "projectType": "installation" } ], "stages": [ { "customerLabel": "Montage vor Ort", "stageId": "stage-installation", "stageLabel": "Montage", "visible": true } ], "users": [ { "canResendInvitation": false, "email": "sven@example.test", "id": "portal-subcontractor", "kind": "subcontractor", "lastActivityAt": "2026-07-16T09:15:00.000Z", "name": "Sven Subunternehmen", "projectCount": 1, "status": "active" } ] }, "status": "ready" }, "interactions": { "data": { "acceptedMimeTypes": [ "image/jpeg", "application/pdf", "audio/mpeg" ], "canSubmitComplaint": true, "canUpload": true, "complaintForm": { "fields": [ { "key": "subject", "label": "Betreff", "options": [], "required": true, "type": "text" }, { "key": "description", "label": "Beschreibung", "options": [], "required": true, "type": "textarea" } ], "formId": "form-complaint", "formName": "Reklamation melden", "formSlug": "reklamation", "gdprConsentLabel": "Ich stimme der Verarbeitung zur Bearbeitung zu.", "submitAction": "/acme/projects/project-1/complaints/form-complaint", "submitLabel": "Reklamation senden" }, "frozen": false, "maxFiles": 10, "maxFileSizeBytes": 52428800, "projectId": "project-1", "projectLabel": "P-1001 · Heizung Familie Kunde", "uploadAction": "/acme/projects/project-1/upload", "uploads": [ { "category": "photo", "createdAt": "2026-07-16T09:30:00.000Z", "errorMessageKey": null, "filename": "baustelle.jpg", "id": "upload-1", "sizeBytes": 1572864, "status": "clean" } ], "viewerKind": "customer" }, "status": "ready" }, "lifecycle": { "data": { "actions": { "canCancelDeletion": false, "canRequestDeletion": true, "canRequestExport": true, "canUpdatePreferences": true }, "deletionRequest": null, "exportJobs": [ { "downloadHref": "/acme/exports/export-1", "expiresAt": "2026-07-17T08:00:00.000Z", "id": "export-1", "progressPercent": 100, "requestedAt": "2026-07-16T08:00:00.000Z", "status": "ready" } ], "frozen": false, "notificationPreferences": [ { "emailEnabled": true, "eventType": "status_mail", "mutedUntil": null }, { "emailEnabled": true, "eventType": "lifecycle", "mutedUntil": null } ], "profile": { "email": "karla@example.test", "locale": "de-DE", "name": "Karla Kunde", "phone": "+49 30 1234567" } }, "status": "ready" } } }, "status": "ready" }, "titleKey": "mock.va-p26b.interim.title" } ; export default mockPage;