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

415 lines
13 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.
{
"inquiry": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · FeWo-direkt",
"action": null
},
{
"key": "contact",
"label": "Name und Kontaktdaten des Gastes eintragen",
"state": "open",
"detail": "fehlt noch",
"action": "provideContact"
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "later",
"detail": "erst wenn alle Angaben da sind",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "later",
"detail": null,
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "later",
"detail": null,
"action": null
},
{
"key": "payment",
"label": "Zahlungen überwachen",
"state": "waiting",
"detail": "erst möglich, wenn der Preis bekannt ist",
"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": "14.11.2026 – 18.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
}
],
"next": "contact",
"situation": "Anfrage über FeWo-direkt · Zeitraum nicht reserviert",
"state": {
"status": "reserved",
"intake": "inquiry",
"case_type": "a2",
"hold_purpose": "clarification",
"hold_expires_at": null,
"offer_version": 0,
"information_version": 0,
"offer_sent_at": null,
"confirmed_at": null,
"accepted_at": null,
"confirmation_sent_at": null,
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": [
"Die E-Mail-Adresse des Gastes fehlt.",
"FeWo-direkt (Sofortbuchung) hat unseren Kalender seit der Sperre noch nicht abgerufen."
],
"document_blockers": [
"Name und Kontaktdaten des Gastes fehlen.",
"Der Gesamtpreis (laut Portal) fehlt."
]
},
"calendar": {
"occupying": false,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": null,
"deposit": null,
"lines": [],
"deposit_due_on": null,
"balance_due_on": null
},
"documents": {
"contract": false,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [],
"mails": []
},
"tasks": [],
"channel_tasks": [],
"data_requests": [],
"events": [
"created"
]
},
"contact": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · FeWo-direkt",
"action": null
},
{
"key": "contact",
"label": "Angaben für das Angebot vervollständigen",
"state": "waiting",
"detail": "fehlt: Straße und Hausnummer, PLZ, Ort, Land · beim Gast angefragt",
"action": "provideContact"
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "later",
"detail": "erst wenn alle Angaben da sind",
"action": null
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "later",
"detail": null,
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "later",
"detail": null,
"action": null
},
{
"key": "payment",
"label": "Zahlungen überwachen",
"state": "waiting",
"detail": "erst möglich, wenn der Preis bekannt ist",
"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": "14.11.2026 – 18.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
}
],
"next": null,
"situation": "Anfrage über FeWo-direkt · Zeitraum nicht reserviert",
"state": {
"status": "reserved",
"intake": "inquiry",
"case_type": "a2",
"hold_purpose": "clarification",
"hold_expires_at": null,
"offer_version": 0,
"information_version": 0,
"offer_sent_at": null,
"confirmed_at": null,
"accepted_at": null,
"confirmation_sent_at": null,
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": [
"Für ein verbindliches Angebot fehlen noch Angaben: Straße und Hausnummer, PLZ, Ort, Land.",
"FeWo-direkt (Sofortbuchung) hat unseren Kalender seit der Sperre noch nicht abgerufen."
],
"document_blockers": [
"Der Gesamtpreis (laut Portal) fehlt."
]
},
"calendar": {
"occupying": false,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": null,
"deposit": null,
"lines": [],
"deposit_due_on": null,
"balance_due_on": null
},
"documents": {
"contract": false,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihre Anfrage 2026-0001: Bitte ergänzen Sie Ihre Angaben"
]
],
"mails": [
[
"Ihre Anfrage 2026-0001: Bitte ergänzen Sie Ihre Angaben",
"test@example.org"
]
]
},
"tasks": [],
"channel_tasks": [],
"data_requests": [
[
"open",
0,
[
"guest.street",
"guest.postal_code",
"guest.city",
"guest.country"
]
]
],
"events": [
"created",
"guest",
"facts",
"data_request",
"mail",
"data_request"
]
},
"address": {
"activities": [
{
"key": "intake",
"label": "Anfrage eingegangen",
"state": "done",
"detail": "23.10.2026 · FeWo-direkt",
"action": null
},
{
"key": "contact",
"label": "Kontaktdaten des Gastes",
"state": "done",
"detail": "Gesa Gast",
"action": null
},
{
"key": "offer",
"label": "Angebot senden (automatisch)",
"state": "open",
"detail": null,
"action": "sendOffer"
},
{
"key": "acceptance",
"label": "Gast nimmt das Angebot an",
"state": "later",
"detail": null,
"action": null
},
{
"key": "documents",
"label": "Buchungsbestätigung mit Vertrag senden",
"state": "later",
"detail": null,
"action": null
},
{
"key": "payment",
"label": "Zahlungen überwachen",
"state": "waiting",
"detail": "erst möglich, wenn der Preis bekannt ist",
"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": "14.11.2026 – 18.11.2026",
"action": null
},
{
"key": "review",
"label": "Bitte um eine Bewertung (automatisch)",
"state": "later",
"detail": null,
"action": null
}
],
"next": "offer",
"situation": "Anfrage über FeWo-direkt · Zeitraum nicht reserviert",
"state": {
"status": "reserved",
"intake": "inquiry",
"case_type": "a2",
"hold_purpose": "clarification",
"hold_expires_at": null,
"offer_version": 0,
"information_version": 0,
"offer_sent_at": null,
"confirmed_at": null,
"accepted_at": null,
"confirmation_sent_at": null,
"wish_at": null,
"completed_at": null,
"settled_at": null
},
"automation": {
"auto_offer_blockers": [
"FeWo-direkt (Sofortbuchung) hat unseren Kalender seit der Sperre noch nicht abgerufen."
],
"document_blockers": [
"Der Gesamtpreis (laut Portal) fehlt."
]
},
"calendar": {
"occupying": false,
"hold_active": false,
"clarification": "none"
},
"price": {
"total": null,
"deposit": null,
"lines": [],
"deposit_due_on": null,
"balance_due_on": null
},
"documents": {
"contract": false,
"terms_template": null,
"cancellation_policy": null
},
"communication": {
"messages": [
[
"test",
"Ihre Anfrage 2026-0001: Bitte ergänzen Sie Ihre Angaben"
]
],
"mails": []
},
"tasks": [],
"channel_tasks": [],
"data_requests": [
[
"completed",
0,
[
"guest.street",
"guest.postal_code",
"guest.city",
"guest.country"
]
]
],
"events": [
"created",
"guest",
"facts",
"data_request",
"mail",
"data_request",
"facts",
"data_request"
]
}
}