Files
fewo-stommer/tests/Fixtures/process/behaviour/a1_complete.json
T

929 lines
28 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"request": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · Eigene Webseite",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "done",
"detail": "Version 1 vom 23.10.2026",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "waiting",
"detail": "Angebot gültig bis 25.10.2026, 17:00 Uhr",
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "later",
"detail": null,
"action": null
},
{
"key": "deposit",
"label": "Anzahlung erhalten",
"state": "later",
"detail": "68,25 €",
"action": null
},
{
"key": "balance",
"label": "Restzahlung erhalten",
"state": "later",
"detail": "234,75 €, fällig 10.10.2026",
"action": null
},
{
"key": "arrival_info",
"label": "Anreise-Informationen an den Gast (automatisch)",
"state": "later",
"detail": "3 Tage vor Anreise",
"action": null
},
{
"key": "stay",
"label": "Aufenthalt",
"state": "later",
"detail": "07.11.2026 – 10.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
}
],
"next": null,
"situation": "Anfrage über die Webseite · Angebot liegt beim Gast bis 25.10., 17:00 Uhr",
"state": {
"status": "offer_sent",
"intake": "inquiry",
"case_type": "a1",
"hold_purpose": "offer",
"hold_expires_at": "2026-10-25 17:00",
"offer_version": 1,
"information_version": 0,
"offer_sent_at": "2026-10-23 18:00",
"confirmed_at": null,
"accepted_at": null,
"confirmation_sent_at": null,
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": null,
"document_blockers": []
},
"calendar": {
"occupying": true,
"hold_active": true,
"clarification": "none"
},
"price": {
"total": 30300,
"deposit": 6825,
"lines": [
[
"accommodation",
19500
],
[
"cleaning",
10800
]
],
"deposit_due_on": null,
"balance_due_on": "2026-10-10"
},
"documents": {
"contract": false,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
],
[
"test",
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
]
],
"mails": []
},
"tasks": [],
"channel_tasks": [],
"data_requests": [],
"events": [
"created",
"facts",
"offer",
"document",
"mail",
"mail"
]
},
"accepted": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · Eigene Webseite",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "done",
"detail": "Version 1 vom 23.10.2026",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "done",
"detail": "angenommen am 23.10.2026",
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "done",
"detail": "gesendet am 23.10.2026",
"action": null
},
{
"key": "deposit",
"label": "Anzahlung erhalten",
"state": "waiting",
"detail": "68,25 €, fällig 30.10.2026",
"action": null
},
{
"key": "balance",
"label": "Restzahlung erhalten",
"state": "later",
"detail": "234,75 €, fällig 10.10.2026",
"action": null
},
{
"key": "arrival_details",
"label": "Anreisedaten",
"state": "done",
"detail": "gesa@example.org",
"action": null
},
{
"key": "arrival_info",
"label": "Anreise-Informationen an den Gast (automatisch)",
"state": "later",
"detail": "3 Tage vor Anreise",
"action": null
},
{
"key": "stay",
"label": "Aufenthalt",
"state": "later",
"detail": "07.11.2026 – 10.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
},
{
"key": "closure",
"label": "Aufenthalt abschließen",
"state": "later",
"detail": "nach der Abreise, sobald nichts mehr für den Aufenthalt offen ist",
"action": null
},
{
"key": "settlement",
"label": "Kaufmännisch abschließen",
"state": "later",
"detail": "nach dem Aufenthalt, wenn Zahlungen, Erstattungen und Auszahlungen geklärt sind",
"action": null
}
],
"next": null,
"situation": "Anfrage über die Webseite · fest gebucht · Anreise in 15 Tagen",
"state": {
"status": "confirmed",
"intake": "inquiry",
"case_type": "a1",
"hold_purpose": "offer",
"hold_expires_at": null,
"offer_version": 1,
"information_version": 0,
"offer_sent_at": "2026-10-23 18:00",
"confirmed_at": "2026-10-23 18:00",
"accepted_at": "2026-10-23 18:00",
"confirmation_sent_at": "2026-10-23 18:00",
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": null,
"document_blockers": []
},
"calendar": {
"occupying": true,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": 30300,
"deposit": 6825,
"lines": [
[
"accommodation",
19500
],
[
"cleaning",
10800
]
],
"deposit_due_on": "2026-10-30",
"balance_due_on": "2026-10-10"
},
"documents": {
"contract": true,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
],
[
"test",
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
],
[
"test",
"Buchungsbestätigung 2026-0001"
],
[
"test",
"Angebot angenommen: 2026-0001"
]
],
"mails": [
[
"Buchungsbestätigung 2026-0001",
"test@example.org"
],
[
"Angebot angenommen: 2026-0001",
"test@example.org"
]
]
},
"tasks": [],
"channel_tasks": [],
"data_requests": [],
"events": [
"created",
"facts",
"offer",
"document",
"mail",
"mail",
"status",
"document",
"mail",
"fact",
"mail"
]
},
"deposit": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · Eigene Webseite",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "done",
"detail": "Version 1 vom 23.10.2026",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "done",
"detail": "angenommen am 23.10.2026",
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "done",
"detail": "gesendet am 23.10.2026",
"action": null
},
{
"key": "deposit",
"label": "Anzahlung erhalten",
"state": "done",
"detail": "68,25 €, fällig 30.10.2026",
"action": null
},
{
"key": "balance",
"label": "Restzahlung erhalten",
"state": "waiting",
"detail": "234,75 €, fällig 10.10.2026",
"action": null
},
{
"key": "arrival_details",
"label": "Anreisedaten",
"state": "done",
"detail": "gesa@example.org",
"action": null
},
{
"key": "arrival_info",
"label": "Anreise-Informationen an den Gast (automatisch)",
"state": "later",
"detail": "3 Tage vor Anreise",
"action": null
},
{
"key": "stay",
"label": "Aufenthalt",
"state": "later",
"detail": "07.11.2026 – 10.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
},
{
"key": "closure",
"label": "Aufenthalt abschließen",
"state": "later",
"detail": "nach der Abreise, sobald nichts mehr für den Aufenthalt offen ist",
"action": null
},
{
"key": "settlement",
"label": "Kaufmännisch abschließen",
"state": "later",
"detail": "nach dem Aufenthalt, wenn Zahlungen, Erstattungen und Auszahlungen geklärt sind",
"action": null
}
],
"next": null,
"situation": "Anfrage über die Webseite · fest gebucht, Anzahlung erhalten · Anreise in 15 Tagen",
"state": {
"status": "deposit_paid",
"intake": "inquiry",
"case_type": "a1",
"hold_purpose": "offer",
"hold_expires_at": null,
"offer_version": 1,
"information_version": 0,
"offer_sent_at": "2026-10-23 18:00",
"confirmed_at": "2026-10-23 18:00",
"accepted_at": "2026-10-23 18:00",
"confirmation_sent_at": "2026-10-23 18:00",
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": null,
"document_blockers": []
},
"calendar": {
"occupying": true,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": 30300,
"deposit": 6825,
"lines": [
[
"accommodation",
19500
],
[
"cleaning",
10800
]
],
"deposit_due_on": "2026-10-30",
"balance_due_on": "2026-10-10"
},
"documents": {
"contract": true,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
],
[
"test",
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
],
[
"test",
"Buchungsbestätigung 2026-0001"
],
[
"test",
"Angebot angenommen: 2026-0001"
]
],
"mails": []
},
"tasks": [],
"channel_tasks": [],
"data_requests": [],
"events": [
"created",
"facts",
"offer",
"document",
"mail",
"mail",
"status",
"document",
"mail",
"fact",
"mail",
"payment",
"status"
]
},
"before_arrival": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · Eigene Webseite",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "done",
"detail": "Version 1 vom 23.10.2026",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "done",
"detail": "angenommen am 23.10.2026",
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "done",
"detail": "gesendet am 23.10.2026",
"action": null
},
{
"key": "deposit",
"label": "Anzahlung erhalten",
"state": "done",
"detail": "68,25 €, fällig 30.10.2026",
"action": null
},
{
"key": "balance",
"label": "Restzahlung erhalten",
"state": "waiting",
"detail": "234,75 €, fällig 10.10.2026",
"action": null
},
{
"key": "task_balance_reminder",
"label": "Restzahlung überfällig – anmahnen",
"state": "open",
"detail": "fällig 10.10.2026",
"action": null
},
{
"key": "arrival_details",
"label": "Anreisedaten",
"state": "done",
"detail": "gesa@example.org",
"action": null
},
{
"key": "arrival_info",
"label": "Anreise-Informationen an den Gast (automatisch)",
"state": "done",
"detail": "gesendet am 05.11.2026",
"action": null
},
{
"key": "stay",
"label": "Aufenthalt",
"state": "later",
"detail": "07.11.2026 – 10.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
},
{
"key": "closure",
"label": "Aufenthalt abschließen",
"state": "later",
"detail": "nach der Abreise, sobald nichts mehr für den Aufenthalt offen ist",
"action": null
},
{
"key": "settlement",
"label": "Kaufmännisch abschließen",
"state": "later",
"detail": "nach dem Aufenthalt, wenn Zahlungen, Erstattungen und Auszahlungen geklärt sind",
"action": null
}
],
"next": "task_balance_reminder",
"situation": "Anfrage über die Webseite · fest gebucht, Anzahlung erhalten · Anreise in 2 Tagen",
"state": {
"status": "deposit_paid",
"intake": "inquiry",
"case_type": "a1",
"hold_purpose": "offer",
"hold_expires_at": null,
"offer_version": 1,
"information_version": 0,
"offer_sent_at": "2026-10-23 18:00",
"confirmed_at": "2026-10-23 18:00",
"accepted_at": "2026-10-23 18:00",
"confirmation_sent_at": "2026-10-23 18:00",
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": null,
"document_blockers": []
},
"calendar": {
"occupying": true,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": 30300,
"deposit": 6825,
"lines": [
[
"accommodation",
19500
],
[
"cleaning",
10800
]
],
"deposit_due_on": "2026-10-30",
"balance_due_on": "2026-10-10"
},
"documents": {
"contract": true,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
],
[
"test",
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
],
[
"test",
"Buchungsbestätigung 2026-0001"
],
[
"test",
"Angebot angenommen: 2026-0001"
],
[
"test",
"Bald geht es los: Ihre Anreise am 07.11.2026"
]
],
"mails": []
},
"tasks": [
[
"balance_reminder",
"open"
]
],
"channel_tasks": [],
"data_requests": [],
"events": [
"created",
"facts",
"offer",
"document",
"mail",
"mail",
"status",
"document",
"mail",
"fact",
"mail",
"payment",
"status",
"task",
"mail",
"fact"
]
},
"after_departure": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · Eigene Webseite",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "done",
"detail": "Version 1 vom 23.10.2026",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "done",
"detail": "angenommen am 23.10.2026",
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "done",
"detail": "gesendet am 23.10.2026",
"action": null
},
{
"key": "deposit",
"label": "Anzahlung erhalten",
"state": "done",
"detail": "68,25 €, fällig 30.10.2026",
"action": null
},
{
"key": "balance",
"label": "Restzahlung erhalten",
"state": "not_applicable",
"detail": "234,75 €, fällig 10.10.2026",
"action": null
},
{
"key": "task_balance_reminder",
"label": "Restzahlung überfällig – anmahnen",
"state": "open",
"detail": "fällig 10.10.2026",
"action": null
},
{
"key": "arrival_details",
"label": "Anreisedaten",
"state": "done",
"detail": "gesa@example.org",
"action": null
},
{
"key": "arrival_info",
"label": "Anreise-Informationen an den Gast (automatisch)",
"state": "done",
"detail": "gesendet am 05.11.2026",
"action": null
},
{
"key": "stay",
"label": "Aufenthalt",
"state": "done",
"detail": "07.11.2026 – 10.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "done",
"detail": null,
"action": null
},
{
"key": "closure",
"label": "Aufenthalt abschließen",
"state": "done",
"detail": "abgeschlossen am 13.11.2026",
"action": null
},
{
"key": "settlement",
"label": "Kaufmännisch abschließen",
"state": "waiting",
"detail": "offen: Noch offen vom Gast: 234,75 €. Aufgabe offen: Restzahlung überfällig – anmahnen.",
"action": "settle"
}
],
"next": "task_balance_reminder",
"situation": "Anfrage über die Webseite · Aufenthalt abgeschlossen, kaufmännisch noch offen · abgereist am 10.11.2026",
"state": {
"status": "completed",
"intake": "inquiry",
"case_type": "a1",
"hold_purpose": "offer",
"hold_expires_at": null,
"offer_version": 1,
"information_version": 0,
"offer_sent_at": "2026-10-23 18:00",
"confirmed_at": "2026-10-23 18:00",
"accepted_at": "2026-10-23 18:00",
"confirmation_sent_at": "2026-10-23 18:00",
"wish_at": null,
"completed_at": "2026-11-13 09:00",
"settled_at": null
},
"automation": {
"auto_offer_blockers": null,
"document_blockers": []
},
"calendar": {
"occupying": true,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": 30300,
"deposit": 6825,
"lines": [
[
"accommodation",
19500
],
[
"cleaning",
10800
]
],
"deposit_due_on": "2026-10-30",
"balance_due_on": "2026-10-10"
},
"documents": {
"contract": true,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
],
[
"test",
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
],
[
"test",
"Buchungsbestätigung 2026-0001"
],
[
"test",
"Angebot angenommen: 2026-0001"
],
[
"test",
"Bald geht es los: Ihre Anreise am 07.11.2026"
],
[
"test",
"Wie war Ihr Aufenthalt in Kühlungsborn?"
]
],
"mails": []
},
"tasks": [
[
"balance_reminder",
"open"
]
],
"channel_tasks": [],
"data_requests": [],
"events": [
"created",
"facts",
"offer",
"document",
"mail",
"mail",
"status",
"document",
"mail",
"fact",
"mail",
"payment",
"status",
"task",
"mail",
"fact",
"status",
"mail",
"fact"
]
}
}