Anfrage-Basisprozess inquiry.request mit Schablonen für Antwort und Gastkommunikation

Antwortart (Auskunft/Angebot) und Reservierung sind entkoppelt (neue Einstellung inquiry_answer;
pre_reservation bleibt die Reservierungsstrategie). Anlass-bezogene Absender für Anreise-Information
und Bewertungsbitte; Schablonen liefern Standardwerte unterhalb aller einstellbaren Ebenen.
A1/A2 bleiben Voreinstellungen und Altfassungen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-05 12:40:22 +01:00
1 parent e40f8639b3
commit 221ce8ca81
51 files changed
+773 -73

No files matched your search

+26 -2
View File
@@ -30,8 +30,11 @@ abstract public static function purpose(): string;
*/
abstract public static function modules(): array;
/** Who answers for the result of the area. It becomes the value of the area's responsibility setting. */
abstract public static function responsibility(): Responsibility;
/** Who answers for the result of the area (we, unless the template hands it to the portal). */
public static function responsibility(): Responsibility
{
return Responsibility::Landlord;
}
/**
* The portal capability that must hold for the template to fit: capability key => required value (the channel's
@@ -64,6 +67,27 @@ public static function provides(): array
return [static::area()->result()];
}
/**
* Standard configuration the template suggests (setting key => value). It sits below every level the landlord can set
* – landlord, property, channel – so it never overrides an explicit value, and every module stays configurable.
*
* @return array<string, string|int|bool>
*/
public static function defaults(): array
{
return [];
}
/**
* Modules outside the template's own slot that its defaults or fixes configure (shown with the template).
*
* @return list<string>
*/
public static function configures(): array
{
return [];
}
/**
* Templates (keys) that must not be combined with this one, with the reason.
*