Commit Graph

38 Commits

Author SHA1 Message Date
Jonas Linter
a07edfe3ec Free rooms first implementation 2025-11-27 18:57:45 +01:00
Jonas Linter
556eef529a Removed redundant size_field in webhook_requests 2025-11-25 20:20:06 +01:00
Jonas Linter
b77a0be80f feat: Add hotel and webhook endpoint management
- Introduced Hotel and WebhookEndpoint models to manage hotel configurations and webhook settings.
- Implemented sync_config_to_database function to synchronize hotel data from configuration to the database.
- Added HotelService for accessing hotel configurations and managing customer data.
- Created WebhookProcessor interface and specific processors for handling different webhook types (Wix form and generic).
- Enhanced webhook processing logic to handle incoming requests and create/update reservations and customers.
- Added logging for better traceability of operations related to hotels and webhooks.
2025-11-25 12:05:48 +01:00
Jonas Linter
2b98973d1c On we go. Maybe soon this will be done 2025-11-19 18:40:44 +01:00
Jonas Linter
d81ba79256 More refactoring 2025-11-19 16:25:18 +01:00
Jonas Linter
d88a53327f Migration done 2025-11-19 15:01:16 +01:00
Jonas Linter
6c46c566ed Significant refactorings 2025-11-19 14:49:42 +01:00
Jonas Linter
2cf4071c2f Migration to guest_table for conversion works 2025-11-19 12:05:38 +01:00
Jonas Linter
b826277b54 Looking good 2025-11-18 14:49:44 +01:00
Jonas Linter
e7757c8c51 Getting closer 2025-11-18 13:32:29 +01:00
Jonas Linter
10dcbae5ad Renamed table 2025-11-18 10:09:06 +01:00
Jonas Linter
bb20000031 Fixed most stuff. Need to be very careful before actually deploying the changes 2025-11-17 19:25:43 +01:00
Jonas Linter
f3978381df Matching guests works nicely 2025-11-17 14:25:53 +01:00
Jonas Linter
24067847b4 Done but not really complete 2025-11-17 10:32:26 +01:00
Jonas Linter
0c37254317 Adding guests to conversion_import 2025-11-17 09:22:35 +01:00
Jonas Linter
0ba70550c9 New system for acknowledgments 2025-11-13 16:23:09 +01:00
Jonas Linter
e161508a61 Wrong imports whupps 2025-11-13 09:15:56 +01:00
Jonas Linter
0d13f903a0 Updated db handling 2025-11-13 09:08:02 +01:00
Jonas Linter
eb10e070b1 Refactored db logic. Can now specify schema in config 2025-11-04 09:20:02 +01:00
Jonas Linter
90d79a71fb Added account_ids to the config 2025-10-22 17:32:28 +02:00
Jonas Linter
81074d839a Started setting up conversion_imports. Not entirely sure how it ultimatly works. Need to grab some real data for a while first 2025-10-22 15:19:17 +02:00
Jonas Linter
27ed8dcd1f Switched to timezone aware schema for database 2025-10-17 22:38:57 +02:00
Jonas Linter
063ae3277f Added addittonal section to the schema. Can now add RoomTypes but they are optional 2025-10-16 16:01:58 +02:00
Jonas Linter
b045c62cee Created hashed customers. migrated to service instead of using db logic directly 2025-10-13 10:51:56 +02:00
Jonas Linter
259243d44b updated db 2025-10-08 13:53:44 +02:00
Jonas Linter
584def323c Starting unique_id migration 2025-10-08 10:45:00 +02:00
Jonas Linter
f0945ed431 Linting and formatting 2025-10-07 09:46:44 +02:00
Jonas Linter
b4b7a537e1 Formatting 2025-10-07 09:40:23 +02:00
Jonas Linter
9f289e4750 Fixed unique_id issue in reservation table 2025-10-01 10:15:27 +02:00
Jonas Linter
13df12afc6 Starting to implement action_OTA_HotelResNotif_GuestRequests. Necessary to fully comply with spec 2025-10-01 09:31:11 +02:00
Jonas Linter
54c002ac96 Looking good. Db querying works 2025-09-29 15:51:58 +02:00
Jonas Linter
06739ebea9 Got db saving working 2025-09-29 13:56:34 +02:00
Jonas Linter
8d4ccc4041 housekeeping + async db 2025-09-29 12:56:47 +02:00
Jonas Linter
784ff0e5da Saving to db and creating quote-request from db works 2025-09-29 10:17:00 +02:00
Jonas Linter
958e48b40a Getting docker build ready again 2025-09-29 09:48:44 +02:00
Jonas Linter
76176f8a79 Adedd formid as unique id for reservations 2025-09-29 09:42:26 +02:00
Jonas Linter
ff00edf35d Started with db development 2025-09-27 17:35:05 +02:00
Jonas Linter
7b539ea42f Updated requirements. Added 2025-09-27 17:06:54 +02:00