Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/ui-mock/visual-baseline/ak-p15a-telephony-interim.mock.ts
T

250 lines
7.8 KiB
TypeScript

export const mockPage =
{
"descriptionKey": "mock.ak-p15a.telephony.description",
"id": "ak-p15a-telephony-interim",
"registries": {
"breadcrumbs": [
{
"href": "/:tenant/calls",
"id": "calls",
"labelKey": "mock.ak-p15a.telephony.nav.calls"
},
{
"href": "/:tenant/calls/:id",
"id": "call-detail",
"labelKey": "mock.ak-p15a.telephony.breadcrumb.detail"
}
],
"sidebar": [
{
"href": "/:tenant/calls",
"id": "ak-p15a-calls",
"labelKey": "mock.ak-p15a.telephony.nav.calls",
"permission": "telephony.read_own"
},
{
"href": "/:tenant/settings/integrations/telephony",
"id": "ak-p15a-settings",
"labelKey": "mock.ak-p15a.telephony.nav.settings",
"permission": "telephony.manage"
}
]
},
"route": "/:tenant/calls",
"state": {
"data": {
"activity": [
{
"labelKey": "mock.ak-p15a.telephony.activity.settings",
"meta": "/:tenant/settings/integrations/telephony"
},
{
"labelKey": "mock.ak-p15a.telephony.activity.calls",
"meta": "/:tenant/calls"
},
{
"labelKey": "mock.ak-p15a.telephony.activity.callDetail",
"meta": "/:tenant/calls/:id"
},
{
"labelKey": "mock.ak-p15a.telephony.activity.clickToCall",
"meta": "contact | lead | project detail"
}
],
"cards": [
{
"labelKey": "mock.ak-p15a.telephony.metrics.screens",
"trend": "flat",
"value": "3"
},
{
"labelKey": "mock.ak-p15a.telephony.metrics.surfaces",
"trend": "flat",
"value": "4"
},
{
"labelKey": "mock.ak-p15a.telephony.metrics.designStatus",
"trend": "flat",
"value": "interim"
}
],
"designStatus": "interim",
"screenRoutes": [
"/:tenant/settings/integrations/telephony",
"/:tenant/calls",
"/:tenant/calls/:id"
],
"surfaces": [
"settings",
"calls",
"callDetail",
"clickToCall"
],
"viewModels": {
"callDetail": {
"data": {
"answeredAt": "2026-07-15T09:00:04.000Z",
"boundUserId": "user-1",
"boundUserLabel": "Lena Werk",
"canCallBack": true,
"canEditNote": true,
"canOverrideMatch": true,
"direction": "inbound",
"durationSeconds": 125,
"endedAt": "2026-07-15T09:02:05.000Z",
"fromNumber": "+49301234567",
"id": "call-1",
"listHref": "/acme/calls",
"matchConfidence": "exact",
"matchedEntityId": "contact-1",
"matchedEntityLabel": "Musterbau GmbH",
"matchedEntityType": "contact",
"matchOptions": [
{
"id": "contact-1",
"label": "Musterbau GmbH",
"type": "contact"
},
{
"id": "project-1",
"label": "Heizungstausch",
"type": "project"
}
],
"noteMarkdown": "**Termin** vereinbart. Rückruf am Freitag.",
"provider": "aircall",
"recordingUrl": "https://dashboard.aircall.io/calls/call-1",
"startedAt": "2026-07-15T09:00:00.000Z",
"status": "completed",
"toNumber": "+49309999999"
},
"status": "ready"
},
"calls": {
"data": {
"canReadAll": true,
"emptyBodyKey": "telephony.calls.empty.body",
"emptyHeadlineKey": "telephony.calls.empty.headline",
"rows": [
{
"boundUserId": "user-1",
"boundUserLabel": "Lena Werk",
"counterpartLabel": "Musterbau GmbH",
"detailHref": "/acme/calls/call-1",
"direction": "inbound",
"durationSeconds": 125,
"hasRecording": true,
"id": "call-1",
"matchConfidence": "exact",
"matchedEntityId": "contact-1",
"matchedEntityLabel": "Musterbau GmbH",
"matchedEntityType": "contact",
"noteSnippet": "Rückruf am Freitag",
"phoneNumber": "+49301234567",
"startedAt": "2026-07-15T09:00:00.000Z",
"status": "completed"
},
{
"boundUserId": "user-1",
"boundUserLabel": "Lena Werk",
"counterpartLabel": null,
"detailHref": "/acme/calls/call-2",
"direction": "outbound",
"durationSeconds": null,
"hasRecording": false,
"id": "call-2",
"matchConfidence": "none",
"matchedEntityId": null,
"matchedEntityLabel": null,
"matchedEntityType": null,
"noteSnippet": null,
"phoneNumber": "+49401234567",
"startedAt": "2026-07-15T08:15:00.000Z",
"status": "missed"
}
]
},
"status": "ready"
},
"clickToCall": {
"mode": "provider",
"numbers": [
{
"e164": "+491701234567",
"id": "phone-1",
"label": "Mobil",
"primary": true
},
{
"e164": "+49301234567",
"id": "phone-2",
"label": "Büro",
"primary": false
}
],
"reasonKey": null,
"requiresSelection": true
},
"settings": {
"data": {
"canManage": true,
"connectHref": "/integrations/aircall/oauth/install?tenant=acme",
"connection": {
"bindings": [
{
"hivegridUserId": "user-1",
"hivegridUserLabel": "Lena Werk",
"id": "binding-1",
"match": "email",
"providerEmail": "lena@example.test",
"providerName": "Lena Werk",
"providerUserId": "aircall-user-1"
},
{
"hivegridUserId": null,
"hivegridUserLabel": null,
"id": "binding-2",
"match": "unmatched",
"providerEmail": "miro@example.test",
"providerName": "Miro Feld",
"providerUserId": "aircall-user-2"
}
],
"errorKey": null,
"externalCompanyName": "Werkstatt Berlin",
"id": "connection-1",
"label": "Aircall Berlin",
"lastHealthCheckAt": "2026-07-15T08:30:00.000Z",
"provider": "aircall",
"status": "active"
},
"emptyBodyKey": "telephony.settings.empty.body",
"emptyHeadlineKey": "telephony.settings.empty.headline",
"notConfiguredKey": "telephony.settings.notConfigured",
"providerConfigured": true,
"providerOptions": [],
"statusKey": "telephony.connection.status.active",
"userOptions": [
{
"email": "lena@example.test",
"id": "user-1",
"label": "Lena Werk"
},
{
"email": "miro@example.test",
"id": "user-2",
"label": "Miro Feld"
}
]
},
"status": "ready"
}
}
},
"status": "ready"
},
"titleKey": "mock.ak-p15a.telephony.title"
}
;
export default mockPage;