U-0: Bestandsaufnahme, Verhaltensreferenz v0.11 (11 Abläufe, 198 Konstellationen), Bestandsfälle, Fehlerregister
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
750c1ed1d9
commit
98df5e9e3b
19 files changed
+28855
No files matched your search
+41
@@ -0,0 +1,41 @@
|
||||
# U-0 Bestandsaufnahme – Modulare Prozessarchitektur V2
|
||||
|
||||
Stand: 04.11.2026 · Umsetzungszweig `feature/prozessarchitektur-v2` (abgezweigt von `feature/aufenthalt` @ `750c1ed`)
|
||||
|
||||
## 1. Repository
|
||||
|
||||
| Prüfung | Ergebnis |
|
||||
|---|---|
|
||||
| `origin/develop` | `7e4e208` (03.11.2026) |
|
||||
| `feature/aufenthalt` | = `origin/develop` + 3 Planungscommits (`ef2783e`, `86f2d0a`, `750c1ed`), nicht gepusht |
|
||||
| übrige Remote-Zweige (`feature/*`, `theme/seebad`, `main`) | **alle vollständig in `develop` enthalten** (0 Commits voraus) |
|
||||
| lokale Zweige mit eigenen Commits | nur `feature/aufenthalt` (Planungsdokumente) |
|
||||
| parallele Worktrees | `C:/Dev/fewo-design` (`feature/design-stufe2`, Design-Session B, 0 Commits voraus) und ein Scratch-Worktree `feature/bausteine` – werden nicht verändert |
|
||||
| Deploymentworkflow | `.gitea/workflows/deploy.yml`: Push `develop` → Tests + Deployment `staging` (stommer.info); `main` → `production` |
|
||||
|
||||
## 2. Testsystem stommer.info (nur lesend geprüft)
|
||||
|
||||
| Prüfung | Ergebnis |
|
||||
|---|---|
|
||||
| aktive Version | `20261103170806-7e4e208d` = `develop` |
|
||||
| PHP-CLI | 8.4, `pdo_sqlite`, `sqlite3`, `pdo_mysql` geladen; `disable_functions` leer; `open_basedir` leer; `memory_limit` 512M; `max_execution_time` (CLI) 0 |
|
||||
| Daten | 2 Mandanten, 10 Buchungen (3 confirmed, 2 cancelled, 4 declined, 1 expired), 7 Kanäle (alle `case_intake = off`), 13 Sperrzeiten |
|
||||
| Prüfsummen vor dem Vorhaben | `bookings` (Status, Profil, Preis, Bedingungen, Fristen): `ab8b708e0479aeb3bd902b3fd538462b`; `channels.process_overrides`: `b3ea60a060bea2b417fc78bba5dd852b`; `blocked_periods`: `d6305a420d17c1928cfce54f0c94bb8b` |
|
||||
|
||||
Die Prüfsummen werden nach dem Deployment mit `php artisan process:fingerprint` erneut erhoben (`06` U-F Schritt 6).
|
||||
|
||||
**Sandbox-Voraussetzung V1:** `pdo_sqlite` ist im CLI vorhanden. Ob er auch im Web-PHP geladen ist, wird zur Laufzeit geprüft (`ProcessSandbox::requirements()`). Fehlt er dort, ist der Tester deaktiviert. V6 (getrennter MariaDB-Benutzer) wird nicht benötigt, solange SQLite verfügbar ist.
|
||||
|
||||
**Harte Betriebssystemisolation (T2):** Shared Hosting bietet keine Prozess-, Benutzer- oder Netzwerk-Isolation je Anfrage. Alle Anfragen laufen unter demselben Systembenutzer mit Zugriff auf `shared/.env`. Erreichbar ist nur **anwendungsseitige Isolation** (`04` §3). Die Restrisiken sind in `BETRIEB.md` dokumentiert.
|
||||
|
||||
## 3. Ausgangsverhalten
|
||||
|
||||
| Prüfung | Ergebnis |
|
||||
|---|---|
|
||||
| vollständige Suite auf `7e4e208` + Testwerkzeug | 772 Tests, 771 grün, 1 instabil (`TenantBrandRenderingTest`, einzeln grün; Fehlerregister F-003) |
|
||||
| Verhaltensreferenz | `tests/Fixtures/process/behaviour/*.json`: 11 Abläufe (A1 vollständig, A1 fehlende Anschrift mit Klärungsreservierung und später Antwort, A1 belegter Zeitraum, A1 manuell/Ablehnung, A1 Auskunft/Wunsch, A2, A3, A4, A5, Portalmail mit Storno-Meldung, A6) und 198 Zustandskonstellationen |
|
||||
| Bestandsfälle | `tests/Fixtures/process/ongoing/cases.json`: 12 eingefrorene Fälle (Klärung, Angebot, fest mit offener Anzahlung, angezahlt, storniert, Aufenthalt vorbei, A2, A3, A4 mit Portalraten, A5, A6, `origin = migration`) |
|
||||
| Fehlerregister | `tests/Fixtures/process/defects.md` (F-001 bis F-004) |
|
||||
| beabsichtigte Abweichungen | `tests/Fixtures/process/intended.md` |
|
||||
|
||||
Die Referenzen wurden auf dem unveränderten v0.11-Prozesskern aufgenommen (`PROCESS_BEHAVIOUR_RECORD=1`, `PROCESS_ONGOING_RECORD=1`) und sind deterministisch (zwei Läufe identisch).
|
||||
@@ -0,0 +1,404 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Process;
|
||||
|
||||
use App\Actions\AcceptOffer;
|
||||
use App\Actions\ContributeCaseFacts;
|
||||
use App\Actions\CreateInternalCase;
|
||||
use App\Actions\CreateReservation;
|
||||
use App\Actions\PrepareStays;
|
||||
use App\Actions\ProcessPortalMail;
|
||||
use App\Actions\RecordPayment;
|
||||
use App\Actions\RecordPortalAmounts;
|
||||
use App\Actions\RejectOffer;
|
||||
use App\Actions\RequestReviews;
|
||||
use App\Actions\SendBookingReminders;
|
||||
use App\Actions\SendOffer;
|
||||
use App\Actions\SubmitBookingWish;
|
||||
use App\Actions\TakeOverExternalBooking;
|
||||
use App\Actions\TakeOverPortalInquiry;
|
||||
use App\Channels\Mail\PortalMail;
|
||||
use App\Documents\DocumentReleases;
|
||||
use App\Enums\DocumentKind;
|
||||
use App\Enums\FactSource;
|
||||
use App\Enums\IntakeKind;
|
||||
use App\Enums\InternalKind;
|
||||
use App\Models\Booking;
|
||||
use App\Models\Channel;
|
||||
use App\Models\Guest;
|
||||
use App\Models\Property;
|
||||
use App\Pricing\StayRequest;
|
||||
use App\Process\CaseAutomation;
|
||||
use App\Process\ProcessSettings;
|
||||
use App\Support\Content;
|
||||
use App\Support\Settings;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Database\Seeders\PropertySeeder;
|
||||
use Database\Seeders\SiteSeeder;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Mail\MailManager;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use PHPUnit\Framework\Attributes\Group;
|
||||
use Tests\Support\Process\BehaviourSnapshot;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Behaviour comparison old/new (docs/Prozessarchitektur/Architektur/05 §4): real case flows through the real actions
|
||||
* and schedulers with a fixed clock; after every event the case is captured in the eight dimensions of
|
||||
* {@see BehaviourSnapshot}. The reference was recorded on the v0.11 code (`PROCESS_BEHAVIOUR_RECORD=1`) before the
|
||||
* process core was rebuilt; deviations need an entry in tests/Fixtures/process/intended.md or defects.md.
|
||||
*/
|
||||
#[Group('golden')]
|
||||
class BehaviourComparisonTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
private Property $property;
|
||||
|
||||
/** @var array<string, array<string, mixed>> */
|
||||
private array $steps = [];
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->travelTo(CarbonImmutable::parse('2026-10-23 18:00'));
|
||||
$this->seed([PropertySeeder::class, SiteSeeder::class]);
|
||||
$this->property = Property::sole();
|
||||
Storage::fake('local');
|
||||
Storage::fake('public');
|
||||
Content::save(['contract.terms' => '<p>Echte Bedingungen</p>', 'stay.cancellation' => '<p>Echtes Storno</p>']);
|
||||
config(['mail.default' => 'array', 'fewo.spam.min_seconds' => 0]);
|
||||
Mail::swap(new MailManager($this->app));
|
||||
Settings::tenant()->update(['bank_iban' => 'DE02120300000000202051', 'test_recipient' => 'test@example.org']);
|
||||
Http::preventStrayRequests();
|
||||
BehaviourSnapshot::reset();
|
||||
}
|
||||
|
||||
public function test_a1_complete_request_automatic_offer_acceptance_and_payment(): void
|
||||
{
|
||||
$this->automatic();
|
||||
$booking = $this->request(['street' => 'Lindenallee 12', 'postal_code' => '10115', 'city' => 'Berlin', 'country' => 'DE']);
|
||||
$this->capture('request', $booking);
|
||||
|
||||
app(AcceptOffer::class)->handle($booking->fresh(), $booking->fresh()->offer_version);
|
||||
$this->capture('accepted', $booking);
|
||||
|
||||
app(RecordPayment::class)->handle($booking->fresh(), (int) $booking->fresh()->deposit, now());
|
||||
$this->capture('deposit', $booking);
|
||||
|
||||
$this->travelTo($booking->fresh()->arrival->subDays(2)->setTime(9, 0));
|
||||
$this->schedulers();
|
||||
$this->capture('before_arrival', $booking);
|
||||
|
||||
$this->travelTo($booking->fresh()->departure->addDays(3)->setTime(9, 0));
|
||||
$this->schedulers();
|
||||
$this->capture('after_departure', $booking);
|
||||
|
||||
$this->assertBehaviour('a1_complete');
|
||||
}
|
||||
|
||||
public function test_a1_missing_address_clarification_hold_data_request_and_late_answer(): void
|
||||
{
|
||||
$this->automatic(['clarification_hold_auto_minutes' => 120, 'data_request_mode' => 'automatic']);
|
||||
$booking = $this->request([]);
|
||||
$this->capture('request', $booking);
|
||||
|
||||
$this->travelTo(now()->addHours(2)->addMinutes(5));
|
||||
$this->schedulers();
|
||||
$this->capture('clarification_expired', $booking);
|
||||
|
||||
$this->travelTo(now()->addHours(23));
|
||||
$this->schedulers();
|
||||
$this->capture('first_reminder', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.street' => 'Lindenallee 12', 'guest.postal_code' => '10115', 'guest.city' => 'Berlin', 'guest.country' => 'DE'], FactSource::GuestLink);
|
||||
$this->capture('answer', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.street' => 'Lindenallee 12'], FactSource::GuestLink);
|
||||
$this->capture('answer_repeated', $booking);
|
||||
|
||||
$this->travelTo(now()->addHours(49));
|
||||
$this->schedulers();
|
||||
$this->capture('offer_expired', $booking);
|
||||
|
||||
$this->assertBehaviour('a1_missing_address');
|
||||
}
|
||||
|
||||
public function test_a1_late_answer_when_the_dates_are_taken_meanwhile(): void
|
||||
{
|
||||
$this->automatic(['clarification_hold_auto_minutes' => 30, 'data_request_mode' => 'automatic']);
|
||||
$booking = $this->request([]);
|
||||
$this->travelTo(now()->addHour());
|
||||
$this->schedulers();
|
||||
$this->capture('clarification_expired', $booking);
|
||||
|
||||
$other = $this->request(['street' => 'Weg 1', 'postal_code' => '20095', 'city' => 'Hamburg', 'country' => 'DE'], 'zweiter@example.org');
|
||||
$this->capture('other_offer', $other);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.street' => 'Lindenallee 12', 'guest.postal_code' => '10115', 'guest.city' => 'Berlin', 'guest.country' => 'DE'], FactSource::GuestLink);
|
||||
$this->capture('answer_dates_taken', $booking);
|
||||
|
||||
$this->assertBehaviour('a1_dates_taken');
|
||||
}
|
||||
|
||||
public function test_a1_manual_offer_and_rejection(): void
|
||||
{
|
||||
$booking = $this->request(['street' => 'Lindenallee 12', 'postal_code' => '10115', 'city' => 'Berlin', 'country' => 'DE']);
|
||||
$this->capture('request', $booking);
|
||||
|
||||
app(SendOffer::class)->handle($booking->fresh());
|
||||
$this->capture('offer', $booking);
|
||||
|
||||
app(SendOffer::class)->handle($booking->fresh());
|
||||
$this->capture('offer_version_2', $booking);
|
||||
|
||||
app(RejectOffer::class)->handle($booking->fresh(), $booking->fresh()->offer_version);
|
||||
$this->capture('rejected', $booking);
|
||||
|
||||
$this->assertBehaviour('a1_manual_reject');
|
||||
}
|
||||
|
||||
public function test_a1_information_wish_and_binding_confirmation(): void
|
||||
{
|
||||
$this->automatic(['pre_reservation' => false]);
|
||||
DocumentReleases::set(DocumentKind::Information, true, 'Test');
|
||||
$booking = $this->request(['street' => 'Lindenallee 12', 'postal_code' => '10115', 'city' => 'Berlin', 'country' => 'DE']);
|
||||
$this->capture('information', $booking);
|
||||
|
||||
app(SubmitBookingWish::class)->handle($booking->fresh(), $booking->fresh()->information_version);
|
||||
$this->capture('wish', $booking);
|
||||
|
||||
$this->travelTo(now()->addMinutes(10));
|
||||
$this->schedulers();
|
||||
$this->capture('after_schedulers', $booking);
|
||||
|
||||
$this->assertBehaviour('a1_information');
|
||||
}
|
||||
|
||||
public function test_a2_portal_inquiry_without_details(): void
|
||||
{
|
||||
$this->automatic(['clarification_hold_auto_minutes' => 60, 'data_request_mode' => 'automatic']);
|
||||
$channel = $this->channel('FeWo-direkt', 'mixed');
|
||||
$booking = app(TakeOverPortalInquiry::class)->handle($channel, CarbonImmutable::parse('2026-11-14'), CarbonImmutable::parse('2026-11-18'), 'HA-ANF1');
|
||||
$this->capture('inquiry', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.first_name' => 'Gesa', 'guest.last_name' => 'Gast', 'guest.email' => 'gesa@example.org', 'booking.guests' => '2'], FactSource::PortalMail);
|
||||
$this->capture('contact', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.street' => 'Lindenallee 12', 'guest.postal_code' => '10115', 'guest.city' => 'Berlin', 'guest.country' => 'DE'], FactSource::Email);
|
||||
$this->capture('address', $booking);
|
||||
|
||||
$this->assertBehaviour('a2_inquiry');
|
||||
}
|
||||
|
||||
public function test_a3_portal_booking_with_own_documents_and_payments(): void
|
||||
{
|
||||
$this->automatic();
|
||||
$channel = $this->channel('Destination Solutions', 'portal_booking');
|
||||
$booking = app(TakeOverExternalBooking::class)->handle($this->property, $channel, CarbonImmutable::parse('2026-12-05'), CarbonImmutable::parse('2026-12-12'), ['portal_reference' => 'DS-1']);
|
||||
$this->capture('booking', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.first_name' => 'Dora', 'guest.last_name' => 'Gast', 'guest.email' => 'dora@example.org', 'booking.guests' => '2'], FactSource::PortalMail);
|
||||
$this->capture('guest', $booking);
|
||||
|
||||
app(RecordPortalAmounts::class)->handle($booking->fresh(), 98000, [], [], 'Destination Solutions');
|
||||
$this->capture('price', $booking);
|
||||
|
||||
app(RecordPortalAmounts::class)->handle($booking->fresh(), 98000, [], [], 'Destination Solutions');
|
||||
$this->capture('price_repeated', $booking);
|
||||
|
||||
$this->assertBehaviour('a3_booking');
|
||||
}
|
||||
|
||||
public function test_a4_portal_booking_with_portal_payments(): void
|
||||
{
|
||||
$this->automatic();
|
||||
$channel = $this->channel('FeWo-direkt', 'mixed', ['booking' => ['payments' => 'portal']]);
|
||||
$booking = app(TakeOverExternalBooking::class)->handle($this->property, $channel, CarbonImmutable::parse('2027-07-10'), CarbonImmutable::parse('2027-07-17'), ['portal_reference' => 'HA-A4', 'portal_total' => 97951, 'guests' => 2]);
|
||||
$this->capture('booking', $booking);
|
||||
|
||||
app(ContributeCaseFacts::class)->handle($booking->fresh(), ['guest.first_name' => 'Fiete', 'guest.last_name' => 'Gast', 'guest.email' => 'fiete@example.org'], FactSource::PortalMail);
|
||||
$this->capture('guest', $booking);
|
||||
|
||||
app(RecordPortalAmounts::class)->handle($booking->fresh(), null, [['kind' => 'payout_announced', 'amount' => 89469]], [['amount' => 39061, 'paid_on' => '2026-10-23']], 'FeWo-direkt');
|
||||
$this->capture('portal_amounts', $booking);
|
||||
|
||||
app(RecordPortalAmounts::class)->handle($booking->fresh(), null, [['kind' => 'payout_announced', 'amount' => 89469]], [['amount' => 39061, 'paid_on' => '2026-10-23']], 'FeWo-direkt');
|
||||
$this->capture('portal_amounts_repeated', $booking);
|
||||
|
||||
$this->assertBehaviour('a4_booking');
|
||||
}
|
||||
|
||||
public function test_a5_portal_booking_with_portal_documents(): void
|
||||
{
|
||||
$this->automatic();
|
||||
$channel = $this->channel('Portal A5', 'portal_booking', ['booking' => ['payments' => 'portal', 'documents' => 'portal', 'guest_messages' => 'portal']]);
|
||||
$booking = app(TakeOverExternalBooking::class)->handle($this->property, $channel, CarbonImmutable::parse('2026-12-19'), CarbonImmutable::parse('2026-12-23'), ['portal_reference' => 'P5-1', 'portal_total' => 60000]);
|
||||
$this->capture('booking', $booking);
|
||||
|
||||
$this->assertBehaviour('a5_booking');
|
||||
}
|
||||
|
||||
public function test_portal_mail_booking_and_cancellation_report(): void
|
||||
{
|
||||
$channel = $this->channel('FeWo-direkt', 'mixed', [], ['email_senders' => 'fewo-direkt.de']);
|
||||
$channel->update(['case_intake' => 'create']);
|
||||
$text = "Gast: Max Mustermann\nAnreise: Sa., 7. Nov. 2026\nAbreise: Di., 10. Nov. 2026\nReisende: 2 Erwachsene\nBuchungsnummer: HA-7X3K9Q";
|
||||
app(ProcessPortalMail::class)->handle(new PortalMail('<b1@fewo-direkt.de>', 'noreply@fewo-direkt.de', 'Neue Buchung: Ferienwohnung', $text, CarbonImmutable::now()));
|
||||
$booking = Booking::query()->sole();
|
||||
$this->capture('booking_mail', $booking);
|
||||
|
||||
app(ProcessPortalMail::class)->handle(new PortalMail('<b1@fewo-direkt.de>', 'noreply@fewo-direkt.de', 'Neue Buchung: Ferienwohnung', $text, CarbonImmutable::now()));
|
||||
$this->capture('booking_mail_repeated', $booking);
|
||||
|
||||
app(ProcessPortalMail::class)->handle(new PortalMail('<c1@fewo-direkt.de>', 'noreply@fewo-direkt.de', 'Buchung storniert: HA-7X3K9Q', 'Die Buchung vom 07.11.2026 bis 10.11.2026 wurde storniert.', CarbonImmutable::now()));
|
||||
$this->capture('cancellation_mail', $booking);
|
||||
|
||||
app(CaseAutomation::class)->advance($booking->fresh());
|
||||
$this->capture('advance_after_cancellation', $booking);
|
||||
|
||||
$this->assertBehaviour('portal_mail_cancellation');
|
||||
}
|
||||
|
||||
public function test_a6_own_use(): void
|
||||
{
|
||||
$booking = app(CreateInternalCase::class)->handle($this->property, InternalKind::PrivateStay, CarbonImmutable::parse('2026-11-20'), CarbonImmutable::parse('2026-11-23'), ['occasion' => 'Familie']);
|
||||
$this->capture('internal', $booking);
|
||||
|
||||
$this->travelTo(CarbonImmutable::parse('2026-11-24 09:00'));
|
||||
$this->schedulers();
|
||||
$this->capture('after', $booking);
|
||||
|
||||
$this->assertBehaviour('a6_internal');
|
||||
}
|
||||
|
||||
/**
|
||||
* State matrix: intake × status × responsibilities × data × time, read only (activities, next step, situation and
|
||||
* the automation's blockers) – the constellations the flows above do not reach.
|
||||
*/
|
||||
public function test_state_matrix(): void
|
||||
{
|
||||
$channels = [
|
||||
'website' => null,
|
||||
'a2' => $this->channel('Anfrageportal', 'inquiry'),
|
||||
'a3' => $this->channel('Buchungsportal A3', 'portal_booking'),
|
||||
'a4' => $this->channel('Buchungsportal A4', 'portal_booking', ['booking' => ['payments' => 'portal']]),
|
||||
'a5' => $this->channel('Buchungsportal A5', 'portal_booking', ['booking' => ['payments' => 'portal', 'documents' => 'portal', 'guest_messages' => 'portal']]),
|
||||
];
|
||||
$statuses = ['reserved', 'offer_sent', 'confirmed', 'deposit_paid', 'paid', 'completed', 'cancelled', 'expired', 'declined'];
|
||||
$guests = [
|
||||
'complete' => ['first_name' => 'Gesa', 'last_name' => 'Gast', 'email' => 'gesa@example.org', 'street' => 'Weg 1', 'postal_code' => '10115', 'city' => 'Berlin', 'country' => 'DE'],
|
||||
'no_address' => ['first_name' => 'Gesa', 'last_name' => 'Gast', 'email' => 'gesa@example.org'],
|
||||
'none' => null,
|
||||
];
|
||||
$times = ['future' => ['2026-12-01', '2026-12-05'], 'past' => ['2026-10-10', '2026-10-14']];
|
||||
$index = 0;
|
||||
|
||||
foreach ($channels as $channelKey => $channel) {
|
||||
$intake = in_array($channelKey, ['website', 'a2'], true) ? 'inquiry' : 'booking';
|
||||
foreach ($statuses as $status) {
|
||||
if ($intake === 'booking' && in_array($status, ['reserved', 'offer_sent', 'expired', 'declined'], true)) {
|
||||
continue;
|
||||
}
|
||||
foreach ($guests as $guestKey => $guestData) {
|
||||
foreach ($times as $timeKey => [$arrival, $departure]) {
|
||||
$shift = $index++ * 10;
|
||||
$profile = app(ProcessSettings::class)->resolve($this->property, $channel, IntakeKind::from($intake));
|
||||
$booking = Booking::factory()->for($this->property)->create([
|
||||
'guest_id' => $guestData === null ? null : Guest::query()->create([...$guestData, 'email' => $guestData['email'] ? $index.$guestData['email'] : null, 'tenant_id' => $this->property->tenant_id])->id,
|
||||
'status' => $status,
|
||||
'intake' => $intake,
|
||||
'case_type' => $profile->caseType,
|
||||
'profile' => $profile->toArray(),
|
||||
'import_channel_id' => $channel?->id,
|
||||
'origin_channel_id' => $channel?->id,
|
||||
'source' => $channel === null ? 'website' : 'channel',
|
||||
'arrival' => CarbonImmutable::parse($arrival)->addDays($shift)->toDateString(),
|
||||
'departure' => CarbonImmutable::parse($departure)->addDays($shift)->toDateString(),
|
||||
'balance_due_on' => CarbonImmutable::parse($arrival)->addDays($shift - 28)->toDateString(),
|
||||
'total' => 80000,
|
||||
'deposit' => 20000,
|
||||
'hold_expires_at' => in_array($status, ['reserved', 'offer_sent'], true) ? now()->addHours(24) : null,
|
||||
'hold_purpose' => 'offer',
|
||||
'offer_version' => in_array($status, ['offer_sent', 'confirmed', 'deposit_paid', 'paid', 'completed', 'cancelled', 'declined'], true) && $intake === 'inquiry' ? 1 : 0,
|
||||
'confirmed_at' => in_array($status, ['confirmed', 'deposit_paid', 'paid', 'completed'], true) ? now() : null,
|
||||
]);
|
||||
$snapshot = BehaviourSnapshot::of($booking);
|
||||
$this->steps["{$channelKey}.{$status}.{$guestKey}.{$timeKey}"] = array_intersect_key($snapshot, array_flip(['activities', 'next', 'situation', 'automation', 'calendar']));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertBehaviour('state_matrix');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $defaults
|
||||
*/
|
||||
private function automatic(array $defaults = []): void
|
||||
{
|
||||
Settings::tenant()->update(['process_defaults' => ['processing' => 'automatic', ...$defaults]]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, string> $address
|
||||
*/
|
||||
private function request(array $address, string $email = 'gesa@example.org'): Booking
|
||||
{
|
||||
return app(CreateReservation::class)->handle(
|
||||
$this->property,
|
||||
new StayRequest(CarbonImmutable::parse('2026-11-07'), CarbonImmutable::parse('2026-11-10'), 2),
|
||||
['first_name' => 'Gesa', 'last_name' => 'Gast', 'email' => $email, ...$address],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, array<string, mixed>> $overrides
|
||||
* @param array<string, mixed> $settings
|
||||
*/
|
||||
private function channel(string $name, string $model, array $overrides = [], array $settings = []): Channel
|
||||
{
|
||||
return Channel::factory()->for($this->property)->create([
|
||||
'name' => $name,
|
||||
'booking_model' => $model,
|
||||
'process_overrides' => $overrides,
|
||||
'settings' => ['import_url' => 'https://portal.example/'.md5($name).'.ics', ...$settings],
|
||||
'import_enabled' => false,
|
||||
]);
|
||||
}
|
||||
|
||||
/** The case-related schedulers in the order of routes/console.php. */
|
||||
private function schedulers(): void
|
||||
{
|
||||
foreach (['bookings:expire-holds', 'bookings:auto-offers', 'cases:data-requests'] as $command) {
|
||||
$this->artisan($command)->assertSuccessful();
|
||||
}
|
||||
app(SendBookingReminders::class)->handle();
|
||||
app(PrepareStays::class)->handle();
|
||||
app(RequestReviews::class)->handle();
|
||||
}
|
||||
|
||||
private function capture(string $label, Booking $booking): void
|
||||
{
|
||||
$this->steps[$label] = BehaviourSnapshot::of($booking);
|
||||
}
|
||||
|
||||
private function assertBehaviour(string $flow): void
|
||||
{
|
||||
$path = base_path("tests/Fixtures/process/behaviour/{$flow}.json");
|
||||
$json = json_encode($this->steps, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)."\n";
|
||||
|
||||
if (env('PROCESS_BEHAVIOUR_RECORD')) {
|
||||
@mkdir(dirname($path), 0777, true);
|
||||
file_put_contents($path, $json);
|
||||
$this->markTestIncomplete("Reference recorded: {$flow}");
|
||||
}
|
||||
|
||||
$this->assertFileExists($path, 'No reference recorded for '.$flow);
|
||||
$this->assertSame(json_decode((string) file_get_contents($path), true), json_decode($json, true), "Behaviour of {$flow} differs from the v0.11 reference.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,264 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Process;
|
||||
|
||||
use App\Actions\AcceptOffer;
|
||||
use App\Actions\CancelBooking;
|
||||
use App\Actions\CreateInternalCase;
|
||||
use App\Actions\CreateReservation;
|
||||
use App\Actions\RecordPayment;
|
||||
use App\Actions\RecordPortalAmounts;
|
||||
use App\Actions\TakeOverExternalBooking;
|
||||
use App\Actions\TakeOverPortalInquiry;
|
||||
use App\Documents\RentalContract;
|
||||
use App\Enums\DocumentKind;
|
||||
use App\Enums\InternalKind;
|
||||
use App\Models\Booking;
|
||||
use App\Models\Channel;
|
||||
use App\Models\Property;
|
||||
use App\Pricing\StayRequest;
|
||||
use App\Process\Activity;
|
||||
use App\Process\CaseActivities;
|
||||
use App\Process\CaseAutomation;
|
||||
use App\Support\CancellationCost;
|
||||
use App\Support\Content;
|
||||
use App\Support\Settings;
|
||||
use App\Tenancy\TenantContext;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Database\Seeders\PropertySeeder;
|
||||
use Database\Seeders\SiteSeeder;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Mail\MailManager;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use PHPUnit\Framework\Attributes\Group;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Regression for running and finished cases (docs/Prozessarchitektur/Architektur/02 §5.3–5.4, rules R1–R6): cases
|
||||
* written by the v0.11 code are kept as frozen rows (tests/Fixtures/process/ongoing/cases.json). Every release reads
|
||||
* them back unchanged and must derive the same contract values (cancellation costs, deposit, balance, due dates,
|
||||
* contract text), the same activities and the same automation decision – and advancing them must not touch their
|
||||
* contract data. The rows are synthetic; they were recorded once with `PROCESS_ONGOING_RECORD=1`.
|
||||
*/
|
||||
#[Group('ongoing')]
|
||||
class OngoingCaseRegressionTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
/** Tables that make up a case, in insert order (no encrypted columns: case_facts stay out on purpose). */
|
||||
private const TABLES = ['guests', 'bookings', 'booking_tasks', 'data_requests', 'case_amounts', 'payments', 'cancellations', 'booking_changes'];
|
||||
|
||||
/** Contract columns that no release and no automatic run may change (level E-V). */
|
||||
private const CONTRACT_COLUMNS = ['total', 'deposit', 'quote', 'offer_terms', 'acceptance', 'deposit_due_on', 'balance_due_on', 'arrival', 'departure', 'status', 'profile'];
|
||||
|
||||
private const NOW = '2026-11-02 09:00';
|
||||
|
||||
private Property $property;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->travelTo(CarbonImmutable::parse('2026-10-23 18:00'));
|
||||
$this->seed([PropertySeeder::class, SiteSeeder::class]);
|
||||
$this->property = Property::sole();
|
||||
Storage::fake('local');
|
||||
Storage::fake('public');
|
||||
Content::save(['contract.terms' => '<p>Echte Bedingungen</p>', 'stay.cancellation' => '<p>Echtes Storno</p>']);
|
||||
config(['mail.default' => 'array', 'fewo.spam.min_seconds' => 0]);
|
||||
Mail::swap(new MailManager($this->app));
|
||||
Settings::tenant()->update(['bank_iban' => 'DE02120300000000202051', 'test_recipient' => 'test@example.org']);
|
||||
Http::preventStrayRequests();
|
||||
Settings::tenant()->update(['process_defaults' => ['processing' => 'automatic', 'clarification_hold_auto_minutes' => 120, 'data_request_mode' => 'automatic']]);
|
||||
}
|
||||
|
||||
public function test_frozen_cases_keep_their_contract_values_activities_and_automation_decision(): void
|
||||
{
|
||||
$path = base_path('tests/Fixtures/process/ongoing/cases.json');
|
||||
|
||||
if (env('PROCESS_ONGOING_RECORD')) {
|
||||
$this->record($path);
|
||||
$this->markTestIncomplete('Ongoing cases recorded.');
|
||||
}
|
||||
|
||||
$this->assertFileExists($path);
|
||||
$cases = json_decode((string) file_get_contents($path), true);
|
||||
$this->restore($cases);
|
||||
$this->travelTo(CarbonImmutable::parse(self::NOW));
|
||||
|
||||
foreach ($cases as $label => $case) {
|
||||
$booking = Booking::query()->findOrFail($case['id']);
|
||||
$this->assertSame($case['expected'], $this->derive($booking), "Derived values of {$label} changed.");
|
||||
|
||||
$before = $this->contract($booking);
|
||||
app(CaseAutomation::class)->advance($booking->fresh());
|
||||
$this->assertSame($before, $this->contract($booking->fresh()), "Advancing {$label} changed its contract data.");
|
||||
}
|
||||
}
|
||||
|
||||
private function record(string $path): void
|
||||
{
|
||||
$address = ['street' => 'Lindenallee 12', 'postal_code' => '10115', 'city' => 'Berlin', 'country' => 'DE'];
|
||||
$cases = [];
|
||||
|
||||
$cases['a1_clarification'] = $this->request('2026-11-07', '2026-11-10', 'klaer@example.org', []);
|
||||
$cases['a1_offer_sent'] = $this->request('2026-11-14', '2026-11-17', 'angebot@example.org', $address);
|
||||
|
||||
$confirmed = $this->request('2026-12-01', '2026-12-08', 'fest@example.org', $address);
|
||||
app(AcceptOffer::class)->handle($confirmed->fresh(), $confirmed->fresh()->offer_version);
|
||||
$cases['a1_confirmed_deposit_open'] = $confirmed;
|
||||
|
||||
$paid = $this->request('2026-11-18', '2026-11-21', 'bezahlt@example.org', $address);
|
||||
app(AcceptOffer::class)->handle($paid->fresh(), $paid->fresh()->offer_version);
|
||||
app(RecordPayment::class)->handle($paid->fresh(), (int) $paid->fresh()->deposit, now());
|
||||
$cases['a1_deposit_paid'] = $paid;
|
||||
|
||||
$cancelled = $this->request('2026-12-10', '2026-12-13', 'storno@example.org', $address);
|
||||
app(AcceptOffer::class)->handle($cancelled->fresh(), $cancelled->fresh()->offer_version);
|
||||
app(CancelBooking::class)->handle($cancelled->fresh(), reason: 'Gast verhindert');
|
||||
$cases['a1_cancelled'] = $cancelled;
|
||||
|
||||
$past = $this->request('2026-10-26', '2026-10-30', 'vorbei@example.org', $address);
|
||||
app(AcceptOffer::class)->handle($past->fresh(), $past->fresh()->offer_version);
|
||||
$cases['a1_stay_over'] = $past;
|
||||
|
||||
$fewo = $this->channel('FeWo-direkt', 'mixed', ['booking' => ['payments' => 'portal']]);
|
||||
$inquiry = app(TakeOverPortalInquiry::class)->handle($fewo, CarbonImmutable::parse('2027-03-01'), CarbonImmutable::parse('2027-03-05'), 'HA-ANF');
|
||||
$cases['a2_inquiry'] = $inquiry;
|
||||
|
||||
$ds = $this->channel('Destination Solutions', 'portal_booking');
|
||||
$a3 = app(TakeOverExternalBooking::class)->handle($this->property, $ds, CarbonImmutable::parse('2027-04-01'), CarbonImmutable::parse('2027-04-08'), ['portal_reference' => 'DS-1', 'portal_total' => 98000, 'guests' => 2]);
|
||||
$cases['a3_booking'] = $a3;
|
||||
|
||||
$a4 = app(TakeOverExternalBooking::class)->handle($this->property, $fewo, CarbonImmutable::parse('2027-07-10'), CarbonImmutable::parse('2027-07-17'), ['portal_reference' => 'HA-A4', 'portal_total' => 97951, 'guests' => 2]);
|
||||
app(RecordPortalAmounts::class)->handle($a4->fresh(), null, [['kind' => 'payout_announced', 'amount' => 89469]], [['amount' => 39061, 'paid_on' => '2026-10-23']], 'FeWo-direkt');
|
||||
$cases['a4_portal_payments'] = $a4;
|
||||
|
||||
$a5channel = $this->channel('Portal A5', 'portal_booking', ['booking' => ['payments' => 'portal', 'documents' => 'portal', 'guest_messages' => 'portal']]);
|
||||
$cases['a5_booking'] = app(TakeOverExternalBooking::class)->handle($this->property, $a5channel, CarbonImmutable::parse('2027-05-01'), CarbonImmutable::parse('2027-05-04'), ['portal_reference' => 'P5-1', 'portal_total' => 60000]);
|
||||
|
||||
$cases['a6_private'] = app(CreateInternalCase::class)->handle($this->property, InternalKind::PrivateStay, CarbonImmutable::parse('2027-06-01'), CarbonImmutable::parse('2027-06-04'), ['occasion' => 'Familie']);
|
||||
|
||||
$migrated = $this->request('2026-11-24', '2026-11-27', 'alt@example.org', $address);
|
||||
$migrated->forceFill(['profile' => [...(array) $migrated->fresh()->profile, 'origin' => 'migration']])->saveQuietly();
|
||||
$cases['legacy_migration_offer'] = $migrated;
|
||||
|
||||
$this->travelTo(CarbonImmutable::parse(self::NOW));
|
||||
|
||||
$out = [];
|
||||
foreach ($cases as $label => $booking) {
|
||||
$booking = $booking->fresh();
|
||||
$out[$label] = ['id' => $booking->id, 'rows' => $this->rows($booking), 'expected' => $this->derive($booking)];
|
||||
}
|
||||
|
||||
@mkdir(dirname($path), 0777, true);
|
||||
file_put_contents($path, json_encode($out, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)."\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, list<array<string, mixed>>>
|
||||
*/
|
||||
private function rows(Booking $booking): array
|
||||
{
|
||||
$rows = [];
|
||||
foreach (self::TABLES as $table) {
|
||||
$query = DB::table($table);
|
||||
$query = $table === 'bookings' ? $query->where('id', $booking->id)
|
||||
: ($table === 'guests' ? $query->where('id', $booking->guest_id) : $query->where('booking_id', $booking->id));
|
||||
$rows[$table] = $query->orderBy('id')->get()->map(fn (object $row): array => (array) $row)->all();
|
||||
}
|
||||
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, array{id: int, rows: array<string, list<array<string, mixed>>>}> $cases
|
||||
*/
|
||||
private function restore(array $cases): void
|
||||
{
|
||||
// Channels the cases point to, as they were configured when the cases were written.
|
||||
$this->channel('FeWo-direkt', 'mixed', ['booking' => ['payments' => 'portal']]);
|
||||
$this->channel('Destination Solutions', 'portal_booking');
|
||||
$this->channel('Portal A5', 'portal_booking', ['booking' => ['payments' => 'portal', 'documents' => 'portal', 'guest_messages' => 'portal']]);
|
||||
|
||||
foreach (self::TABLES as $table) {
|
||||
foreach ($cases as $case) {
|
||||
foreach ($case['rows'][$table] as $row) {
|
||||
if ($table === 'guests' && DB::table('guests')->where('id', $row['id'])->exists()) {
|
||||
continue;
|
||||
}
|
||||
DB::table($table)->insert($row);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Everything a release must derive identically from the frozen rows.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
private function derive(Booking $booking): array
|
||||
{
|
||||
// As in a request of the landlord: the case's landlord is the current one (TenantConfig lays its data over config).
|
||||
return app(TenantContext::class)->run($booking->property->tenant, fn (): array => $this->deriveInContext($booking));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
private function deriveInContext(Booking $booking): array
|
||||
{
|
||||
$booking = $booking->fresh(['guest', 'property', 'payments']);
|
||||
$cost = fn (string $on): ?array => $booking->arrival === null ? null : CancellationCost::calculate($booking, CarbonImmutable::parse($on));
|
||||
[$view, $data] = app(RentalContract::class)->view($booking, DocumentKind::Confirmation, draft: true);
|
||||
|
||||
return [
|
||||
'cancellation' => [
|
||||
'today' => $cost(self::NOW),
|
||||
'arrival_minus_40' => $cost($booking->arrival->subDays(40)->toDateString()),
|
||||
'arrival_minus_10' => $cost($booking->arrival->subDays(10)->toDateString()),
|
||||
],
|
||||
'rent' => CancellationCost::rent($booking),
|
||||
'deposit' => $booking->deposit,
|
||||
'balance' => $booking->total === null ? null : max(0, $booking->total - (int) $booking->deposit),
|
||||
'open_amount' => $booking->openAmount(),
|
||||
'due' => [$booking->deposit_due_on?->toDateString(), $booking->balance_due_on?->toDateString()],
|
||||
'contract_sha' => $booking->intake?->value === 'internal' || $booking->total === null ? null : sha1(view($view, $data)->render()),
|
||||
'case_type' => $booking->process()->caseType->value,
|
||||
'activities' => array_map(fn (Activity $activity): array => [$activity->key, $activity->state->value, $activity->detail, $activity->action], CaseActivities::for($booking)),
|
||||
'next' => CaseActivities::next($booking)?->key,
|
||||
'document_blockers' => app(CaseAutomation::class)->documentBlockers($booking),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
private function contract(Booking $booking): array
|
||||
{
|
||||
return array_intersect_key($booking->getAttributes(), array_flip(self::CONTRACT_COLUMNS));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, string> $address
|
||||
*/
|
||||
private function request(string $arrival, string $departure, string $email, array $address): Booking
|
||||
{
|
||||
return app(CreateReservation::class)->handle($this->property, new StayRequest(CarbonImmutable::parse($arrival), CarbonImmutable::parse($departure), 2), ['first_name' => 'Gesa', 'last_name' => 'Gast', 'email' => $email, ...$address]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, array<string, mixed>> $overrides
|
||||
*/
|
||||
private function channel(string $name, string $model, array $overrides = []): Channel
|
||||
{
|
||||
return Channel::query()->where('name', $name)->first() ?? Channel::factory()->for($this->property)->create([
|
||||
'name' => $name, 'booking_model' => $model, 'process_overrides' => $overrides,
|
||||
'settings' => ['import_url' => 'https://portal.example/'.md5($name).'.ics'], 'import_enabled' => false,
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,928 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,468 @@
|
||||
{
|
||||
"clarification_expired": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Anfrage eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Eigene Webseite",
|
||||
"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": "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 · Zeitraum nicht reserviert",
|
||||
"state": {
|
||||
"status": "reserved",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "clarification",
|
||||
"hold_expires_at": "2026-10-23 18:30",
|
||||
"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."
|
||||
],
|
||||
"document_blockers": []
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": false,
|
||||
"hold_active": false,
|
||||
"clarification": "expired"
|
||||
},
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001: Bitte ergänzen Sie Ihre Angaben"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"open",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"data_request",
|
||||
"mail",
|
||||
"data_request",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"other_offer": {
|
||||
"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, 18: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., 18:00 Uhr",
|
||||
"state": {
|
||||
"status": "offer_sent",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": "2026-10-25 18:00",
|
||||
"offer_version": 1,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": "2026-10-23 19: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-0002 – Ferienwohnung Stommer"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Angebot automatisch versendet 2026-0002: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"offer",
|
||||
"document",
|
||||
"mail",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"answer_dates_taken": {
|
||||
"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": "open",
|
||||
"detail": "Zeitraum reserviert bis 23.10.2026, 18:30 Uhr",
|
||||
"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": "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": "offer",
|
||||
"situation": "Anfrage über die Webseite · Zeitraum nicht reserviert",
|
||||
"state": {
|
||||
"status": "reserved",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "clarification",
|
||||
"hold_expires_at": "2026-10-23 18:30",
|
||||
"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": [
|
||||
"Der Zeitraum ist inzwischen belegt."
|
||||
],
|
||||
"document_blockers": []
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": false,
|
||||
"hold_active": false,
|
||||
"clarification": "expired"
|
||||
},
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001: Bitte ergänzen Sie Ihre Angaben"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"completed",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"data_request",
|
||||
"mail",
|
||||
"data_request",
|
||||
"mail",
|
||||
"facts",
|
||||
"data_request"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,555 @@
|
||||
{
|
||||
"information": {
|
||||
"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": "information",
|
||||
"label": "Unverbindliche Auskunft senden (automatisch)",
|
||||
"state": "done",
|
||||
"detail": "Version 1 vom 23.10.2026 · ohne Reservierung",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish",
|
||||
"label": "Gast fragt die Buchung an",
|
||||
"state": "waiting",
|
||||
"detail": "möglich bis 25.10.2026, 17:00 Uhr",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish_check",
|
||||
"label": "Erneut prüfen und verbindlich bestätigen",
|
||||
"state": "later",
|
||||
"detail": "automatisch, wenn alles passt",
|
||||
"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 · unverbindliche Auskunft gesendet, Zeitraum nicht reserviert",
|
||||
"state": {
|
||||
"status": "reserved",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 1,
|
||||
"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 Anfrage ist bereits beantwortet oder nicht mehr offen."
|
||||
],
|
||||
"document_blockers": []
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": false,
|
||||
"hold_active": false,
|
||||
"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",
|
||||
"Unverbindliche Auskunft zu Ihrer Anfrage 2026-0001"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"information",
|
||||
"document",
|
||||
"mail",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"wish": {
|
||||
"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": "information",
|
||||
"label": "Unverbindliche Auskunft senden (automatisch)",
|
||||
"state": "done",
|
||||
"detail": "Version 1 vom 23.10.2026 · ohne Reservierung",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish",
|
||||
"label": "Gast fragt die Buchung an",
|
||||
"state": "done",
|
||||
"detail": "angefragt am 23.10.2026, 18:00 Uhr",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish_check",
|
||||
"label": "Erneut prüfen und verbindlich bestätigen",
|
||||
"state": "done",
|
||||
"detail": "bestätigt am 23.10.2026 (automatisch nach erneuter Prüfung)",
|
||||
"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": 0,
|
||||
"information_version": 1,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": "2026-10-23 18:00",
|
||||
"confirmation_sent_at": "2026-10-23 18:00",
|
||||
"wish_at": "2026-10-23 18:00",
|
||||
"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",
|
||||
"Unverbindliche Auskunft zu Ihrer Anfrage 2026-0001"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Buchungsbestätigung 2026-0001"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Buchungswunsch automatisch bestätigt 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": [
|
||||
[
|
||||
"Buchungsbestätigung 2026-0001",
|
||||
"test@example.org"
|
||||
],
|
||||
[
|
||||
"Buchungswunsch automatisch bestätigt 2026-0001: Gesa Gast, 07.11.–10.11.2026",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"information",
|
||||
"document",
|
||||
"mail",
|
||||
"mail",
|
||||
"status",
|
||||
"wish",
|
||||
"document",
|
||||
"mail",
|
||||
"fact",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"after_schedulers": {
|
||||
"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": "information",
|
||||
"label": "Unverbindliche Auskunft senden (automatisch)",
|
||||
"state": "done",
|
||||
"detail": "Version 1 vom 23.10.2026 · ohne Reservierung",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish",
|
||||
"label": "Gast fragt die Buchung an",
|
||||
"state": "done",
|
||||
"detail": "angefragt am 23.10.2026, 18:00 Uhr",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "wish_check",
|
||||
"label": "Erneut prüfen und verbindlich bestätigen",
|
||||
"state": "done",
|
||||
"detail": "bestätigt am 23.10.2026 (automatisch nach erneuter Prüfung)",
|
||||
"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": "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": "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": "task_balance_reminder",
|
||||
"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": 0,
|
||||
"information_version": 1,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": "2026-10-23 18:00",
|
||||
"confirmation_sent_at": "2026-10-23 18:00",
|
||||
"wish_at": "2026-10-23 18:00",
|
||||
"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",
|
||||
"Unverbindliche Auskunft zu Ihrer Anfrage 2026-0001"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Angebot automatisch versendet 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Buchungsbestätigung 2026-0001"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Buchungswunsch automatisch bestätigt 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [
|
||||
[
|
||||
"balance_reminder",
|
||||
"open"
|
||||
]
|
||||
],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"information",
|
||||
"document",
|
||||
"mail",
|
||||
"mail",
|
||||
"status",
|
||||
"wish",
|
||||
"document",
|
||||
"mail",
|
||||
"fact",
|
||||
"mail",
|
||||
"task"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,634 @@
|
||||
{
|
||||
"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 prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "Zeitraum reserviert bis 25.10.2026, 17:00 Uhr",
|
||||
"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": "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": "offer",
|
||||
"situation": "Anfrage über die Webseite · Zeitraum reserviert bis 25.10., 17:00 Uhr",
|
||||
"state": {
|
||||
"status": "reserved",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": "2026-10-25 17:00",
|
||||
"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": [],
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001 – Termin vorgemerkt, Angebot folgt"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
]
|
||||
],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"mail",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"offer": {
|
||||
"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 prüfen und senden",
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001 – Termin vorgemerkt, Angebot folgt"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
|
||||
]
|
||||
],
|
||||
"mails": [
|
||||
[
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"mail",
|
||||
"mail",
|
||||
"offer",
|
||||
"document",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"offer_version_2": {
|
||||
"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 prüfen und senden",
|
||||
"state": "done",
|
||||
"detail": "Version 2 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": 2,
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001 – Termin vorgemerkt, Angebot folgt"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
|
||||
]
|
||||
],
|
||||
"mails": [
|
||||
[
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"mail",
|
||||
"mail",
|
||||
"offer",
|
||||
"document",
|
||||
"mail",
|
||||
"offer",
|
||||
"document",
|
||||
"mail"
|
||||
]
|
||||
},
|
||||
"rejected": {
|
||||
"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 prüfen und senden",
|
||||
"state": "done",
|
||||
"detail": "Version 2 vom 23.10.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "acceptance",
|
||||
"label": "Gast nimmt das Angebot an",
|
||||
"state": "not_applicable",
|
||||
"detail": null,
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsbestätigung mit Vertrag senden",
|
||||
"state": "not_applicable",
|
||||
"detail": null,
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "deposit",
|
||||
"label": "Anzahlung erhalten",
|
||||
"state": "not_applicable",
|
||||
"detail": "68,25 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "balance",
|
||||
"label": "Restzahlung erhalten",
|
||||
"state": "not_applicable",
|
||||
"detail": "234,75 €, fällig 10.10.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "not_applicable",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "not_applicable",
|
||||
"detail": "07.11.2026 – 10.11.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "review",
|
||||
"label": "Bitte um eine Bewertung (automatisch)",
|
||||
"state": "not_applicable",
|
||||
"detail": null,
|
||||
"action": null
|
||||
}
|
||||
],
|
||||
"next": null,
|
||||
"situation": "Anfrage über die Webseite · ohne Buchung beendet",
|
||||
"state": {
|
||||
"status": "declined",
|
||||
"intake": "inquiry",
|
||||
"case_type": "a1",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 2,
|
||||
"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": false,
|
||||
"hold_active": false,
|
||||
"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",
|
||||
"Ihre Anfrage 2026-0001 – Termin vorgemerkt, Angebot folgt"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Neue Anfrage 2026-0001: Gesa Gast, 07.11.–10.11.2026"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Ihr Angebot 2026-0001 – Ferienwohnung Stommer"
|
||||
],
|
||||
[
|
||||
"test",
|
||||
"Angebot abgelehnt: 2026-0001"
|
||||
]
|
||||
],
|
||||
"mails": [
|
||||
[
|
||||
"Angebot abgelehnt: 2026-0001",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"facts",
|
||||
"mail",
|
||||
"mail",
|
||||
"offer",
|
||||
"document",
|
||||
"mail",
|
||||
"offer",
|
||||
"document",
|
||||
"mail",
|
||||
"status",
|
||||
"mail"
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,414 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,648 @@
|
||||
{
|
||||
"booking": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Destination Solutions",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Name und Kontaktdaten des Gastes eintragen",
|
||||
"state": "open",
|
||||
"detail": "fehlt noch",
|
||||
"action": "provideContact"
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer DS-1",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen. Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "05.12.2026 – 12.12.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": "contact",
|
||||
"situation": "Gebucht über Destination Solutions · fest gebucht · Anreise in 43 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen.",
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"guest": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Destination Solutions",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Dora Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer DS-1",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "dora@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "05.12.2026 – 12.12.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": "price",
|
||||
"situation": "Gebucht über Destination Solutions · fest gebucht · Anreise in 43 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request"
|
||||
]
|
||||
},
|
||||
"price": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Destination Solutions",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Dora Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer DS-1",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "980,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "vor dem Versand zu prüfen: Die Texte für „Buchungsunterlagen (beim Portal gebucht)“ sind eine Arbeitsfassung und noch nicht freigegeben (So arbeite ich › Dokumente). Für Buchungen über Destination Solutions ist keine eigene Vorlage hinterlegt. Die Unterlagen enthielten Ihre Mietbedingungen der Webseite – ihnen hat der Gast bei Destination Solutions nicht zugestimmt.",
|
||||
"action": "sendDocuments"
|
||||
},
|
||||
{
|
||||
"key": "deposit",
|
||||
"label": "Anzahlung erhalten",
|
||||
"state": "waiting",
|
||||
"detail": "343,00 €, fällig 30.10.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "balance",
|
||||
"label": "Restzahlung erhalten",
|
||||
"state": "later",
|
||||
"detail": "637,00 €, fällig 07.11.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "dora@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "05.12.2026 – 12.12.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": "documents",
|
||||
"situation": "Gebucht über Destination Solutions · fest gebucht · Anreise in 43 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"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": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 98000,
|
||||
"deposit": 34300,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
98000
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2026-11-07"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request",
|
||||
"price"
|
||||
]
|
||||
},
|
||||
"price_repeated": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Destination Solutions",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Dora Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer DS-1",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "980,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "vor dem Versand zu prüfen: Die Texte für „Buchungsunterlagen (beim Portal gebucht)“ sind eine Arbeitsfassung und noch nicht freigegeben (So arbeite ich › Dokumente). Für Buchungen über Destination Solutions ist keine eigene Vorlage hinterlegt. Die Unterlagen enthielten Ihre Mietbedingungen der Webseite – ihnen hat der Gast bei Destination Solutions nicht zugestimmt.",
|
||||
"action": "sendDocuments"
|
||||
},
|
||||
{
|
||||
"key": "deposit",
|
||||
"label": "Anzahlung erhalten",
|
||||
"state": "waiting",
|
||||
"detail": "343,00 €, fällig 30.10.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "balance",
|
||||
"label": "Restzahlung erhalten",
|
||||
"state": "later",
|
||||
"detail": "637,00 €, fällig 07.11.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "dora@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "05.12.2026 – 12.12.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": "documents",
|
||||
"situation": "Gebucht über Destination Solutions · fest gebucht · Anreise in 43 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"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": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 98000,
|
||||
"deposit": 34300,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
98000
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2026-11-07"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request",
|
||||
"price"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,671 @@
|
||||
{
|
||||
"booking": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal 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": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-A4",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "979,51 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlung des Gastes an FeWo-direkt",
|
||||
"state": "external",
|
||||
"detail": "zieht das Portal ein; noch keine Zahlungsangabe",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payout",
|
||||
"label": "Auszahlung von FeWo-direkt auf unser Konto",
|
||||
"state": "waiting",
|
||||
"detail": "eingegangen 0,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "10.07.2027 – 17.07.2027",
|
||||
"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": "contact",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 260 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a4",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 97951,
|
||||
"deposit": 34283,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
97951
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2027-06-12"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"guest": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · FeWo-direkt",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Fiete Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-A4",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "979,51 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "vor dem Versand zu prüfen: Die Texte für „Buchungsunterlagen (beim Portal gebucht)“ sind eine Arbeitsfassung und noch nicht freigegeben (So arbeite ich › Dokumente). Für Buchungen über FeWo-direkt ist keine eigene Vorlage hinterlegt. Die Unterlagen enthielten Ihre Mietbedingungen der Webseite – ihnen hat der Gast bei FeWo-direkt nicht zugestimmt.",
|
||||
"action": "sendDocuments"
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlung des Gastes an FeWo-direkt",
|
||||
"state": "external",
|
||||
"detail": "zieht das Portal ein; noch keine Zahlungsangabe",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payout",
|
||||
"label": "Auszahlung von FeWo-direkt auf unser Konto",
|
||||
"state": "waiting",
|
||||
"detail": "eingegangen 0,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "fiete@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "10.07.2027 – 17.07.2027",
|
||||
"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": "documents",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 260 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a4",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"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": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 97951,
|
||||
"deposit": 34283,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
97951
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2027-06-12"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request"
|
||||
]
|
||||
},
|
||||
"portal_amounts": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · FeWo-direkt",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Fiete Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-A4",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "979,51 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "vor dem Versand zu prüfen: Die Texte für „Buchungsunterlagen (beim Portal gebucht)“ sind eine Arbeitsfassung und noch nicht freigegeben (So arbeite ich › Dokumente). Für Buchungen über FeWo-direkt ist keine eigene Vorlage hinterlegt. Die Unterlagen enthielten Ihre Mietbedingungen der Webseite – ihnen hat der Gast bei FeWo-direkt nicht zugestimmt.",
|
||||
"action": "sendDocuments"
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlung des Gastes an FeWo-direkt",
|
||||
"state": "external",
|
||||
"detail": "laut Portal bezahlt: 390,61 € von 979,51 € (Angabe des Portals, kein Geld bei uns)",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payout",
|
||||
"label": "Auszahlung von FeWo-direkt auf unser Konto",
|
||||
"state": "waiting",
|
||||
"detail": "angekündigt 894,69 € · eingegangen 0,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "fiete@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "10.07.2027 – 17.07.2027",
|
||||
"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": "documents",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 260 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a4",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"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": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 97951,
|
||||
"deposit": 34283,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
97951
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2027-06-12"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request",
|
||||
"amount",
|
||||
"payment"
|
||||
]
|
||||
},
|
||||
"portal_amounts_repeated": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · FeWo-direkt",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "contact",
|
||||
"label": "Kontaktdaten des Gastes",
|
||||
"state": "done",
|
||||
"detail": "Fiete Gast",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-A4",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "979,51 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "open",
|
||||
"detail": "vor dem Versand zu prüfen: Die Texte für „Buchungsunterlagen (beim Portal gebucht)“ sind eine Arbeitsfassung und noch nicht freigegeben (So arbeite ich › Dokumente). Für Buchungen über FeWo-direkt ist keine eigene Vorlage hinterlegt. Die Unterlagen enthielten Ihre Mietbedingungen der Webseite – ihnen hat der Gast bei FeWo-direkt nicht zugestimmt.",
|
||||
"action": "sendDocuments"
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlung des Gastes an FeWo-direkt",
|
||||
"state": "external",
|
||||
"detail": "laut Portal bezahlt: 390,61 € von 979,51 € (Angabe des Portals, kein Geld bei uns)",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payout",
|
||||
"label": "Auszahlung von FeWo-direkt auf unser Konto",
|
||||
"state": "waiting",
|
||||
"detail": "angekündigt 894,69 € · eingegangen 0,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "done",
|
||||
"detail": "fiete@example.org",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast (automatisch)",
|
||||
"state": "later",
|
||||
"detail": "3 Tage vor Anreise",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "data_request",
|
||||
"label": "Fehlende Angaben beim Gast anfragen",
|
||||
"state": "open",
|
||||
"detail": "Straße und Hausnummer, PLZ, Ort, Land · Rückfrage vorbereitet – wartet auf Ihre Freigabe",
|
||||
"action": "approveDataRequest"
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "10.07.2027 – 17.07.2027",
|
||||
"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": "documents",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 260 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a4",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"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": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 97951,
|
||||
"deposit": 34283,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
97951
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2027-06-12"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [
|
||||
[
|
||||
"draft",
|
||||
0,
|
||||
[
|
||||
"guest.street",
|
||||
"guest.postal_code",
|
||||
"guest.city",
|
||||
"guest.country"
|
||||
]
|
||||
]
|
||||
],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"guest",
|
||||
"facts",
|
||||
"data_request",
|
||||
"amount",
|
||||
"payment"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"booking": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal eingegangen",
|
||||
"state": "done",
|
||||
"detail": "23.10.2026 · Portal A5",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer P5-1",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "done",
|
||||
"detail": "600,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen an den Gast",
|
||||
"state": "external",
|
||||
"detail": null,
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlung des Gastes an Portal A5",
|
||||
"state": "external",
|
||||
"detail": "zieht das Portal ein; noch keine Zahlungsangabe",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payout",
|
||||
"label": "Auszahlung von Portal A5 auf unser Konto",
|
||||
"state": "waiting",
|
||||
"detail": "eingegangen 0,00 €",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_info",
|
||||
"label": "Anreise-Informationen an den Gast",
|
||||
"state": "external",
|
||||
"detail": "durch Portal A5 (angekündigt) – eine Zustellung ist damit nicht nachgewiesen",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "19.12.2026 – 23.12.2026",
|
||||
"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": "Gebucht über Portal A5 · fest gebucht · Anreise in 57 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a5",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 60000,
|
||||
"deposit": 21000,
|
||||
"lines": [
|
||||
[
|
||||
"accommodation",
|
||||
60000
|
||||
]
|
||||
],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": "2026-11-21"
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
{
|
||||
"internal": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Private Überlassung (Familie, Freunde) eingetragen",
|
||||
"state": "done",
|
||||
"detail": "Familie",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "later",
|
||||
"detail": "20.11.2026 – 23.11.2026",
|
||||
"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
|
||||
}
|
||||
],
|
||||
"next": null,
|
||||
"situation": "Private Überlassung (Familie, Freunde) · Familie · 20.11.–23.11.2026",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "internal",
|
||||
"case_type": "a6",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 0,
|
||||
"deposit": null,
|
||||
"lines": [
|
||||
[
|
||||
"rent",
|
||||
0
|
||||
]
|
||||
],
|
||||
"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",
|
||||
"intake"
|
||||
]
|
||||
},
|
||||
"after": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Private Überlassung (Familie, Freunde) eingetragen",
|
||||
"state": "done",
|
||||
"detail": "Familie",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "stay",
|
||||
"label": "Aufenthalt",
|
||||
"state": "done",
|
||||
"detail": "20.11.2026 – 23.11.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "closure",
|
||||
"label": "Aufenthalt abschließen",
|
||||
"state": "done",
|
||||
"detail": "abgeschlossen am 24.11.2026",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "settlement",
|
||||
"label": "Kaufmännisch abschließen",
|
||||
"state": "done",
|
||||
"detail": "abgeschlossen am 24.11.2026",
|
||||
"action": null
|
||||
}
|
||||
],
|
||||
"next": null,
|
||||
"situation": "Private Überlassung (Familie, Freunde) · Familie · beendet am 23.11.2026",
|
||||
"state": {
|
||||
"status": "completed",
|
||||
"intake": "internal",
|
||||
"case_type": "a6",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": "2026-11-24 09:00",
|
||||
"settled_at": "2026-11-24 09:00"
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": 0,
|
||||
"deposit": null,
|
||||
"lines": [
|
||||
[
|
||||
"rent",
|
||||
0
|
||||
]
|
||||
],
|
||||
"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",
|
||||
"intake",
|
||||
"status",
|
||||
"settled"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,608 @@
|
||||
{
|
||||
"booking_mail": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal 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": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-7X3K9Q",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen. Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "contact",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 15 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen.",
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": [
|
||||
[
|
||||
"FeWo-direkt-Buchung erkannt und gesperrt: 07.11.2026 – 10.11.2026",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"intake"
|
||||
]
|
||||
},
|
||||
"booking_mail_repeated": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal 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": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-7X3K9Q",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen. Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "contact",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 15 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen.",
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"intake"
|
||||
]
|
||||
},
|
||||
"cancellation_mail": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal 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": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-7X3K9Q",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen. Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "task_portal_cancel_reported",
|
||||
"label": "Das Portal meldet eine Stornierung – bitte prüfen",
|
||||
"state": "open",
|
||||
"detail": "fällig 23.10.2026 · FeWo-direkt meldet eine Stornierung (E-Mail „Buchung storniert: HA-7X3K9Q“). Bitte prüfen Sie die Buchung und die nächsten Schritte.",
|
||||
"action": "confirmPortalCancellation"
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "task_portal_cancel_reported",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 15 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen.",
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": [
|
||||
[
|
||||
"Bitte prüfen: E-Mail von FeWo-direkt",
|
||||
"test@example.org"
|
||||
]
|
||||
]
|
||||
},
|
||||
"tasks": [
|
||||
[
|
||||
"portal_cancel_reported",
|
||||
"open"
|
||||
]
|
||||
],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"intake",
|
||||
"task",
|
||||
"portal_signal"
|
||||
]
|
||||
},
|
||||
"advance_after_cancellation": {
|
||||
"activities": [
|
||||
{
|
||||
"key": "intake",
|
||||
"label": "Buchung beim Portal 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": "binding",
|
||||
"label": "Beim Portal fest gebucht",
|
||||
"state": "external",
|
||||
"detail": "Buchungsnummer HA-7X3K9Q",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"label": "Gesamtpreis laut Portal eintragen",
|
||||
"state": "open",
|
||||
"detail": "noch nicht bekannt",
|
||||
"action": "portalPrice"
|
||||
},
|
||||
{
|
||||
"key": "documents",
|
||||
"label": "Buchungsunterlagen prüfen und senden",
|
||||
"state": "waiting",
|
||||
"detail": "wartet: Name und Kontaktdaten des Gastes fehlen. Der Gesamtpreis (laut Portal) fehlt.",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "payment",
|
||||
"label": "Zahlungen überwachen",
|
||||
"state": "waiting",
|
||||
"detail": "erst möglich, wenn der Preis bekannt ist",
|
||||
"action": null
|
||||
},
|
||||
{
|
||||
"key": "task_portal_cancel_reported",
|
||||
"label": "Das Portal meldet eine Stornierung – bitte prüfen",
|
||||
"state": "open",
|
||||
"detail": "fällig 23.10.2026 · FeWo-direkt meldet eine Stornierung (E-Mail „Buchung storniert: HA-7X3K9Q“). Bitte prüfen Sie die Buchung und die nächsten Schritte.",
|
||||
"action": "confirmPortalCancellation"
|
||||
},
|
||||
{
|
||||
"key": "arrival_details",
|
||||
"label": "Anreisedaten",
|
||||
"state": "later",
|
||||
"detail": "es fehlt: Name und Kontakt des Gastes – wird rechtzeitig als Aufgabe gemeldet",
|
||||
"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": "task_portal_cancel_reported",
|
||||
"situation": "Gebucht über FeWo-direkt · fest gebucht · Anreise in 15 Tagen",
|
||||
"state": {
|
||||
"status": "confirmed",
|
||||
"intake": "booking",
|
||||
"case_type": "a3",
|
||||
"hold_purpose": "offer",
|
||||
"hold_expires_at": null,
|
||||
"offer_version": 0,
|
||||
"information_version": 0,
|
||||
"offer_sent_at": null,
|
||||
"confirmed_at": "2026-10-23 18:00",
|
||||
"accepted_at": null,
|
||||
"confirmation_sent_at": null,
|
||||
"wish_at": null,
|
||||
"completed_at": null,
|
||||
"settled_at": null
|
||||
},
|
||||
"automation": {
|
||||
"auto_offer_blockers": null,
|
||||
"document_blockers": [
|
||||
"Name und Kontaktdaten des Gastes fehlen.",
|
||||
"Der Gesamtpreis (laut Portal) fehlt."
|
||||
]
|
||||
},
|
||||
"calendar": {
|
||||
"occupying": true,
|
||||
"hold_active": false,
|
||||
"clarification": "none"
|
||||
},
|
||||
"price": {
|
||||
"total": null,
|
||||
"deposit": null,
|
||||
"lines": [],
|
||||
"deposit_due_on": "2026-10-30",
|
||||
"balance_due_on": null
|
||||
},
|
||||
"documents": {
|
||||
"contract": false,
|
||||
"terms_template": null,
|
||||
"cancellation_policy": null
|
||||
},
|
||||
"communication": {
|
||||
"messages": [],
|
||||
"mails": []
|
||||
},
|
||||
"tasks": [
|
||||
[
|
||||
"portal_cancel_reported",
|
||||
"open"
|
||||
]
|
||||
],
|
||||
"channel_tasks": [],
|
||||
"data_requests": [],
|
||||
"events": [
|
||||
"created",
|
||||
"status",
|
||||
"intake",
|
||||
"task",
|
||||
"portal_signal"
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,10 @@
|
||||
# Fehlerregister: v0.11-Verhalten gegen beschlossene Anforderungen
|
||||
|
||||
Stand: 04.11.2026 (U-0). Einträge hier sind **keine** Norm. Ein Snapshot des Verhaltensvergleichs, der einen Eintrag zeigt, gilt nur bis zur Entscheidung als Referenz. Danach wird der Fehler behoben (Test auf das Soll) oder begründet zurückgestellt.
|
||||
|
||||
| # | Fundstelle | Anforderung | Ist (v0.11) | Soll | Entscheidung |
|
||||
|---|---|---|---|---|---|
|
||||
| F-001 | `CaseActivities::for`, Schritt `offer`; Snapshot `a1_dates_taken.answer_dates_taken` | v0.11 G2a / Architektur `02` §7.6: Ist der Zeitraum belegt, ist der Angebotsschritt ein Problem mit Grund | Schritt `offer` steht auf `open` mit Aktion `sendOffer`, obwohl `AutoOffer::blockers` „Der Zeitraum ist inzwischen belegt.“ meldet | `problem`, Detail „Der Zeitraum ist inzwischen belegt.“, keine Senden-Aktion | **behoben in U-A** (Modul `offer.binding`), beabsichtigte Abweichung I-004 |
|
||||
| F-002 | `CaseActivities::for`, Detail des Schritts `offer` | CH §2a: Dem Vermieter wird nur der tatsächliche Reservierungszustand gezeigt (`clarificationState`) | Detail „Zeitraum reserviert bis 23.10.2026, 18:30 Uhr“ auch nach Ablauf der Klärungsreservierung | Bei abgelaufener Reservierung „Reservierung abgelaufen am …, Zeitraum nicht reserviert“ | **behoben in U-A**, beabsichtigte Abweichung I-005 |
|
||||
| F-003 | `TenantBrandRenderingTest::test_booking_mail_embeds_only_the_logo_of_its_website` | Testsuite stabil | im Gesamtlauf einmal mit „Trying to access array offset on null“ (Zeile 94), einzeln grün | stabil | zurückgestellt: nicht prozessbezogen, Instabilität der Medienablage im Gesamtlauf; beobachten |
|
||||
| F-004 | Verhaltensvergleich, Dimension `communication.mails` | – (Testwerkzeug) | Mails des ersten Ereignisses einer Folge erscheinen erst im nächsten Snapshot; die Spalte `messages` (`booking_messages`) ist vollständig | – | kein Anwendungsfehler; der Vergleich nutzt beide Spalten, maßgeblich ist `messages` |
|
||||
@@ -0,0 +1,11 @@
|
||||
# Beabsichtigte Abweichungen von der v0.11-Referenz
|
||||
|
||||
Jede Abweichung im Verhaltensvergleich (`BehaviourComparisonTest`, `OngoingCaseRegressionTest`) braucht hier einen Eintrag mit Begründung und eigenem Test. Die Referenzdateien werden nur zusammen mit einem Eintrag neu aufgenommen.
|
||||
|
||||
| # | Abweichung | Begründung | Test | betroffene Referenzen |
|
||||
|---|---|---|---|---|
|
||||
| I-001 | Ereignistypen der Schrittdetails kommen aus der Moduldefinition statt aus `ActivityDetails::EVENT_TYPES` | eine Quelle (Architektur `02` §7.7) | `ActivityDetailsTest` unverändert grün | keine (gleiches Ergebnis) |
|
||||
| I-002 | Offene, einem Vorgang zugeordnete Portalmeldung (Storno/Änderung) setzt automatische **Außenwirkungen** aus: Unterlagen, Erinnerungen, Anreiseinformation | Entscheidung O4 | `PortalReportSuspendsAutomationTest` | `portal_mail_cancellation` (nur wenn Außenwirkungen anstanden) |
|
||||
| I-003 | Zeit-Actions (`ExpireReservations`, `RequestCaseData::handOver`) rufen danach `ProcessRunner::advance` für den Vorgang | K1: Wiederaufnahme ohne neuen Auslöser | `RunnerResumesAfterDeadlineTest` | keine erwartet |
|
||||
| I-004 | Angebotsschritt bei belegtem Zeitraum = `problem` | Fehler F-001 | `OfferModuleTest::taken_dates_are_a_problem` | `a1_dates_taken.answer_dates_taken` |
|
||||
| I-005 | Detail des Angebotsschritts zeigt den tatsächlichen Reservierungszustand | Fehler F-002 | `OfferModuleTest::expired_hold_is_not_shown_as_reserved` | `a1_dates_taken.*`, `a1_missing_address.clarification_expired`, `a1_missing_address.first_reminder` |
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Support\Process;
|
||||
|
||||
use App\Actions\AutoOffer;
|
||||
use App\Models\Booking;
|
||||
use App\Models\BookingEvent;
|
||||
use App\Models\BookingMessage;
|
||||
use App\Models\BookingTask;
|
||||
use App\Models\ChannelTask;
|
||||
use App\Models\DataRequest;
|
||||
use App\Process\Activity;
|
||||
use App\Process\CaseActivities;
|
||||
use App\Process\CaseAutomation;
|
||||
use Carbon\CarbonInterface;
|
||||
use Illuminate\Mail\Transport\ArrayTransport;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
|
||||
/**
|
||||
* The observable behaviour of one case at one moment, in the eight dimensions of the behaviour comparison
|
||||
* (docs/Prozessarchitektur/Architektur/05 §4.1): activities, state transitions, automation, holds and deadlines, price,
|
||||
* documents and communication, tasks and evidence, repetition. Pure reading – the snapshot never changes the case.
|
||||
*/
|
||||
final class BehaviourSnapshot
|
||||
{
|
||||
/** Number of mails of the array transport already reported, so each snapshot lists only the new ones. */
|
||||
private static int $mailsSeen = 0;
|
||||
|
||||
public static function reset(): void
|
||||
{
|
||||
self::$mailsSeen = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public static function of(Booking $booking): array
|
||||
{
|
||||
$booking = $booking->fresh(['guest', 'property', 'payments']) ?? $booking;
|
||||
|
||||
return [
|
||||
'activities' => array_map(fn (Activity $activity): array => [
|
||||
'key' => $activity->key,
|
||||
'label' => $activity->label,
|
||||
'state' => $activity->state->value,
|
||||
'detail' => $activity->detail,
|
||||
'action' => $activity->action,
|
||||
], CaseActivities::for($booking)),
|
||||
'next' => CaseActivities::next($booking)?->key,
|
||||
'situation' => CaseActivities::situation($booking),
|
||||
'state' => [
|
||||
'status' => $booking->status->value,
|
||||
'intake' => $booking->intake?->value,
|
||||
'case_type' => $booking->case_type?->value,
|
||||
'hold_purpose' => $booking->hold_purpose,
|
||||
'hold_expires_at' => self::time($booking->hold_expires_at),
|
||||
'offer_version' => $booking->offer_version,
|
||||
'information_version' => $booking->information_version,
|
||||
'offer_sent_at' => self::time($booking->offer_sent_at),
|
||||
'confirmed_at' => self::time($booking->confirmed_at),
|
||||
'accepted_at' => self::time($booking->accepted_at),
|
||||
'confirmation_sent_at' => self::time($booking->confirmation_sent_at),
|
||||
'wish_at' => self::time($booking->wish_at),
|
||||
'completed_at' => self::time($booking->completed_at),
|
||||
'settled_at' => self::time($booking->settled_at),
|
||||
],
|
||||
'automation' => [
|
||||
'auto_offer_blockers' => $booking->intake?->value !== 'booking' && in_array($booking->status->value, ['reserved'], true)
|
||||
? app(AutoOffer::class)->blockers($booking) : null,
|
||||
'document_blockers' => app(CaseAutomation::class)->documentBlockers($booking),
|
||||
],
|
||||
'calendar' => [
|
||||
'occupying' => Booking::query()->occupying()->whereKey($booking->id)->exists(),
|
||||
'hold_active' => $booking->isHoldActive(),
|
||||
'clarification' => $booking->clarificationState()['state'],
|
||||
],
|
||||
'price' => [
|
||||
'total' => $booking->total,
|
||||
'deposit' => $booking->deposit,
|
||||
'lines' => array_map(fn (array $line): array => [$line['type'] ?? null, $line['amount'] ?? null], (array) ($booking->quote['lines'] ?? [])),
|
||||
'deposit_due_on' => $booking->deposit_due_on?->toDateString(),
|
||||
'balance_due_on' => $booking->balance_due_on?->toDateString(),
|
||||
],
|
||||
'documents' => [
|
||||
'contract' => $booking->contract_path !== null,
|
||||
'terms_template' => $booking->offer_terms['template']['name'] ?? null,
|
||||
'cancellation_policy' => $booking->offer_terms['cancellation_policy']['name'] ?? null,
|
||||
],
|
||||
'communication' => [
|
||||
'messages' => BookingMessage::query()->where('booking_id', $booking->id)->orderBy('id')->get()
|
||||
->map(fn (BookingMessage $message): array => [$message->audience, $message->subject])->all(),
|
||||
'mails' => self::newMails(),
|
||||
],
|
||||
'tasks' => BookingTask::query()->where('booking_id', $booking->id)->orderBy('id')->get()
|
||||
->map(fn (BookingTask $task): array => [$task->kind->value, $task->status->value])->all(),
|
||||
'channel_tasks' => ChannelTask::query()->whereHas('channel', fn ($query) => $query->where('property_id', $booking->property_id))->orderBy('id')->get()
|
||||
->map(fn (ChannelTask $task): array => [$task->channel_id, $task->action->value, $task->status->value])->all(),
|
||||
'data_requests' => DataRequest::query()->where('booking_id', $booking->id)->orderBy('id')->get()
|
||||
->map(fn (DataRequest $request): array => [$request->status, $request->reminders_sent, $request->fields])->all(),
|
||||
'events' => BookingEvent::query()->where('booking_id', $booking->id)->orderBy('id')->pluck('type')->all(),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Subjects and recipients of the mails sent since the last snapshot.
|
||||
*
|
||||
* @return list<array{0: string, 1: string}>
|
||||
*/
|
||||
private static function newMails(): array
|
||||
{
|
||||
$transport = Mail::mailer('array')->getSymfonyTransport();
|
||||
if (! $transport instanceof ArrayTransport) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$all = $transport->messages()->all();
|
||||
$new = array_slice($all, self::$mailsSeen);
|
||||
self::$mailsSeen = count($all);
|
||||
|
||||
return array_values(array_map(function ($sent): array {
|
||||
$email = $sent->getOriginalMessage();
|
||||
|
||||
return [(string) $email->getSubject(), implode(',', array_map(fn ($address): string => $address->getAddress(), $email->getTo()))];
|
||||
}, $new));
|
||||
}
|
||||
|
||||
private static function time(?CarbonInterface $value): ?string
|
||||
{
|
||||
return $value?->format('Y-m-d H:i');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user