Files
fewo-stommer/config/channels.php
T

47 lines
2.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
use App\Channels\ICal\ICalConnector;
return [
/*
|--------------------------------------------------------------------------
| Channel connectors
|--------------------------------------------------------------------------
|
| Every portal is connected through a connector. New connectors (e.g. a
| channel manager API) implement App\Channels\Contracts\ChannelConnector
| and are registered here; they then appear in the admin automatically.
|
*/
'connectors' => [
ICalConnector::class,
],
/*
| Suffix of the UIDs in our own feeds. Events carrying it that come back
| from a portal are echoes of our own export and are ignored on import.
*/
'uid_suffix' => '@fewo-stommer',
/*
| Business and integration capabilities per kind of channel (decision E2/O2): which process models may be chosen for
| requests and for bookings that are binding at the portal. A channel names its profile in settings.portal_profile
| (Kanal › Ablauf); without one it is recognised by its name, else "generic". Further models are released here after
| a business review – never as a special rule in the process core.
*/
'portal_profiles' => [
'website' => ['label' => 'Eigene Webseite', 'inquiry' => ['a1.offer', 'a1.information'], 'booking' => []],
'fewo_direkt' => ['label' => 'FeWo-direkt (Vrbo)', 'match' => ['fewo-direkt', 'fewo direkt', 'vrbo'], 'inquiry' => ['a2.offer', 'a2.information'], 'booking' => ['a4.portal_booking']],
'destination_solutions' => ['label' => 'Destination Solutions', 'match' => ['destination solution'], 'inquiry' => [], 'booking' => ['a3.portal_booking']],
'inquiry_listing' => ['label' => 'Inserat mit Anfragen (z. B. ferienundwohnen.de, Ostseeklar)', 'match' => ['ferienundwohnen', 'ostseeklar', 'strandurlaub', 'ferienunterkunft'], 'inquiry' => ['a2.offer', 'a2.information'], 'booking' => []],
'generic' => ['label' => 'Sonstiges Portal', 'inquiry' => ['a2.offer', 'a2.information'], 'booking' => ['a3.portal_booking', 'a4.portal_booking', 'a5.portal_booking']],
],
'removal_confirmation_runs' => 2,
'max_automatic_removals' => 5,
'export_request_history_limit' => 100,
];