feat: api endpoints and xml sync for contingents data

This commit is contained in:
Björn Fromme committed 2026-04-22 11:23:52 +02:00
1 parent a1f68ec11d
commit 9b84893d88
50 files changed
+2567 -221

No files matched your search

@@ -7,7 +7,7 @@ namespace App\Model;
/**
* Typed hotel CMS payload for the booking summary.
*/
final readonly class BookingSummaryCmsHotelDto
final readonly class BookingSummaryCmsHotelData
{
/**
* @param array<string, mixed>|null $images
+17
View File
@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace App\Model;
final readonly class BpnXmlSnapshotRefreshPlan
{
/**
* @param array<int, array{hotels: array<int|string, mixed>}> $xmlFileMap
*/
public function __construct(
public array $xmlFileMap,
public int $total,
) {
}
}
+15
View File
@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace App\Model;
final readonly class BpnXmlSnapshotRefreshResult
{
public function __construct(
public int $processed,
public int $failed,
public int $orphanedDeleted,
) {
}
}
+17
View File
@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace App\Model;
use League\Flysystem\FilesystemOperator;
final readonly class BpnXmlSyncTarget
{
public function __construct(
public string $name,
public FilesystemOperator $source,
public FilesystemOperator $destination,
) {
}
}