2025-08-16 01:19:35 INFO: 🔧 Passenger mode - Loading environment from: .env.dev
2025-08-16 01:19:51 INFO: 🚀 Passenger app configured and ready
2025-08-16 01:19:52 INFO: POST /api/v1/auth/login 200 - 537.992 ms
2025-08-16 01:19:52 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 01:19:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 01:19:52 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 01:19:52 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-15T19:19:52.222Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-15T19:19:52.224Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTI4NTU5MiwiZXhwIjoxNzU1MzcxOTkyfQ.9NVXrA7tFi55ROmRUL-LngJC79wBJwFdICMgCNZeM5o\"}}"
2025-08-16 01:19:58 INFO: GET /api/v1/dropdowns/room-types 200 - 10.683 ms
2025-08-16 01:19:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:19:58 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 01:19:58 INFO: GET /api/v1/dropdowns/occupations 200 - 12.461 ms
2025-08-16 01:19:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:19:58 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 01:19:58 INFO: GET /api/v1/dropdowns/paymodes 200 - 10.597 ms
2025-08-16 01:19:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:19:58 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 01:19:58 INFO: GET /api/v1/dropdowns/companies 200 - 11.486 ms
2025-08-16 01:19:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:19:58 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 01:19:58 INFO: GET /api/v1/dropdowns/countries 200 - 12.516 ms
2025-08-16 01:19:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:19:58 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 01:24:18 INFO: GET /api/v1/auth/profile 200 - 11.623 ms
2025-08-16 01:24:18 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:18 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:18 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-15T19:19:52.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-15T19:19:52.000Z\"}}}"
2025-08-16 01:24:19 INFO: GET /api/v1/dropdowns/room-types 304 - 4.422 ms
2025-08-16 01:24:19 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:19 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 01:24:19 INFO: GET /api/v1/dropdowns/occupations 304 - 6.327 ms
2025-08-16 01:24:19 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:19 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 01:24:19 INFO: GET /api/v1/dropdowns/paymodes 304 - 6.324 ms
2025-08-16 01:24:19 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:19 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 01:24:19 INFO: GET /api/v1/dropdowns/companies 304 - 3.394 ms
2025-08-16 01:24:19 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:19 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 01:24:19 INFO: GET /api/v1/dropdowns/countries 304 - 3.484 ms
2025-08-16 01:24:19 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:24:19 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 01:25:52 INFO: POST /api/v1/auth/login 200 - 442.645 ms
2025-08-16 01:25:52 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 01:25:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 01:25:52 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 01:25:52 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-15T19:25:52.407Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-15T19:25:52.408Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTI4NTk1MiwiZXhwIjoxNzU1MzcyMzUyfQ.HLDZ7NEiKjFpN3XSiRg1hWYe8h0qtbCZkJJOoPLgpSo\"}}"
2025-08-16 01:25:53 INFO: GET /api/v1/dropdowns/room-types 200 - 2.431 ms
2025-08-16 01:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 01:25:53 INFO: GET /api/v1/dropdowns/occupations 200 - 2.065 ms
2025-08-16 01:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 01:25:53 INFO: GET /api/v1/dropdowns/companies 200 - 5.968 ms
2025-08-16 01:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 01:25:53 INFO: GET /api/v1/dropdowns/paymodes 200 - 7.320 ms
2025-08-16 01:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 01:25:53 INFO: GET /api/v1/dropdowns/countries 200 - 8.680 ms
2025-08-16 01:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 01:26:33 INFO: POST /api/v1/guests/upload-signature 200 - 33.433 ms
2025-08-16 01:26:33 INFO: Request Body: {}
2025-08-16 01:26:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:26:33 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755285993545-873096653.png\",\"url\":\"/uploads/signatures/signature-1755285993545-873096653.png\"}}}"
2025-08-16 01:26:35 INFO: POST /api/v1/guests/upload-signature 200 - 13.167 ms
2025-08-16 01:26:35 INFO: Request Body: {}
2025-08-16 01:26:35 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:26:35 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755285995910-71404641.png\",\"url\":\"/uploads/signatures/signature-1755285995910-71404641.png\"}}}"
2025-08-16 01:26:49 INFO: POST /api/v1/guests/upload-signature 200 - 14.338 ms
2025-08-16 01:26:49 INFO: Request Body: {}
2025-08-16 01:26:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:26:49 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755286009831-589377684.png\",\"url\":\"/uploads/signatures/signature-1755286009831-589377684.png\"}}}"
2025-08-16 01:26:50 INFO: POST /api/v1/guests/upload-images 200 - 129.793 ms
2025-08-16 01:26:50 INFO: Request Body: {}
2025-08-16 01:26:50 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755286010720-872778220.jpg\",\"originalName\":\"1000000283.jpg\",\"url\":\"/uploads/images/1755286010720-872778220.jpg\"}]}}"
2025-08-16 01:26:50 INFO: POST /api/v1/guests 201 - 44.082 ms
2025-08-16 01:26:50 INFO: Request Body: {"reservation_no":"RES32104","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801777713283","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"BA-12345","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH ARMY","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755286009831-589377684.png","images":["/uploads/images/1755286010720-872778220.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 01:26:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 01:26:50 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 01:26:50 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 191;
2025-08-16 01:26:50 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":191,\"reservation_no\":\"RES32104\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801777713283\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":\"BA-12345\",\"ts_number\":\"\",\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755286009831-589377684.png\",\"images\":\"[\\\"/uploads/images/1755286010720-872778220.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-15T19:26:50.000Z\",\"updatedAt\":\"2025-08-15T19:26:50.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 02:28:52 INFO: GET /api/v1/dropdowns/room-types 304 - 15.202 ms
2025-08-16 02:28:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:28:52 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 02:28:52 INFO: GET /api/v1/dropdowns/occupations 304 - 12.785 ms
2025-08-16 02:28:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:28:52 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 02:28:52 INFO: GET /api/v1/dropdowns/countries 304 - 12.064 ms
2025-08-16 02:28:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:28:52 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 02:28:52 INFO: GET /api/v1/dropdowns/companies 304 - 11.267 ms
2025-08-16 02:28:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:28:52 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 02:28:52 INFO: GET /api/v1/dropdowns/paymodes 304 - 19.308 ms
2025-08-16 02:28:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:28:52 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 02:29:03 INFO: GET /api/v1/auth/profile 200 - 6.124 ms
2025-08-16 02:29:03 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:03 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:03 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-15T19:25:52.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-15T19:25:52.000Z\"}}}"
2025-08-16 02:29:07 INFO: GET /api/v1/dropdowns/room-types 304 - 2.839 ms
2025-08-16 02:29:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:07 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 02:29:07 INFO: GET /api/v1/dropdowns/occupations 304 - 4.134 ms
2025-08-16 02:29:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:07 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 02:29:07 INFO: GET /api/v1/dropdowns/paymodes 304 - 4.250 ms
2025-08-16 02:29:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:07 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 02:29:07 INFO: GET /api/v1/dropdowns/companies 304 - 1.907 ms
2025-08-16 02:29:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:07 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 02:29:07 INFO: GET /api/v1/dropdowns/countries 304 - 1.892 ms
2025-08-16 02:29:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 02:29:07 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 11:54:18 INFO: 🔧 Passenger mode - Loading environment from: .env.dev
2025-08-16 11:54:18 INFO: 🚀 Passenger app configured and ready
2025-08-16 11:54:18 INFO: GET / 404 - 10.237 ms
2025-08-16 11:54:18 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 11:54:18 WARN: GET / 404 - 10.237 ms
2025-08-16 16:49:00 INFO: POST /api/v1/auth/login 200 - 430.126 ms
2025-08-16 16:49:00 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 16:49:00 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 16:49:00 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 16:49:00 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.691Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.692Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0MTM0MCwiZXhwIjoxNzU1NDI3NzQwfQ.COuEM7JCnPdD151_gGUzkqEpsX2RKI60DZnFmGF7oEY\"}}"
2025-08-16 16:49:42 INFO: POST /api/v1/auth/login 200 - 437.466 ms
2025-08-16 16:49:42 INFO: Request Body: {"username":"admin","password":"admin123"}
2025-08-16 16:49:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'admin' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 16:49:42 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 16:49:42 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":1,\"username\":\"admin\",\"email\":\"admin@guestease.com\",\"role\":\"admin\",\"full_name\":\"System Administrator\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:42.899Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:42.900Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzU1MzQxMzgyLCJleHAiOjE3NTU0Mjc3ODJ9.Q74H4W72EuR3gvChGyEVl1iGDIt29Xll3rKZ5x-vflw\"}}"
2025-08-16 16:49:43 INFO: GET /api/v1/dropdowns/occupations 200 - 20.850 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 16:49:43 INFO: GET /api/v1/guests/stats/occupations 200 - 48.814 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `occupation`, COUNT(`occupation`) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`occupation` IS NOT NULL AND `GuestEntry`.`created_at` >= '2025-07-16 18:00:00' GROUP BY `occupation`;
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":[{\"occupation\":\"Service\",\"count\":49},{\"occupation\":\"FIT\",\"count\":37},{\"occupation\":\"Student\",\"count\":1},{\"occupation\":\"Doctor\",\"count\":2},{\"occupation\":\"Engineer\",\"count\":1}]}"
2025-08-16 16:49:43 INFO: GET /api/v1/guests/stats/room-types 200 - 48.953 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `room_type`, COUNT(`room_type`) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`room_type` IS NOT NULL GROUP BY `room_type`;
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":[{\"room_type\":\"Economy Queen Deluxe (Ground Floor, No View)\",\"count\":11},{\"room_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"count\":6},{\"room_type\":\"Standard King Deluxe (No View)\",\"count\":11},{\"room_type\":\"Superior Queen Deluxe (City View)\",\"count\":7},{\"room_type\":\"Superior Queen Deluxe (Garden Sea View)\",\"count\":3},{\"room_type\":\"Executive King Deluxe (Sea View)\",\"count\":25},{\"room_type\":\"Executive King Deluxe (Garden Sea View)\",\"count\":14},{\"room_type\":\"Superior Suite (City View)\",\"count\":4},{\"room_type\":\"Executive Suite (Sea View)\",\"count\":5},{\"room_type\":\"Panoramic Suite (Sea View)\",\"count\":4}]}"
2025-08-16 16:49:43 INFO: GET /api/v1/guests/stats/entries-over-time 200 - 48.220 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT DATE(`created_at`) AS `date`, COUNT(`id`) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`created_at` >= '2025-07-16 18:00:00' GROUP BY DATE(`created_at`) ORDER BY DATE(`created_at`) ASC;
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":[{\"date\":\"2025-08-02\",\"count\":1},{\"date\":\"2025-08-03\",\"count\":5},{\"date\":\"2025-08-04\",\"count\":1},{\"date\":\"2025-08-05\",\"count\":28},{\"date\":\"2025-08-06\",\"count\":19},{\"date\":\"2025-08-07\",\"count\":17},{\"date\":\"2025-08-08\",\"count\":17},{\"date\":\"2025-08-09\",\"count\":1},{\"date\":\"2025-08-15\",\"count\":1}]}"
2025-08-16 16:49:43 INFO: GET /api/v1/guests/stats/nationality 200 - 49.018 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `nationality`, COUNT(`nationality`) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`nationality` IS NOT NULL GROUP BY `nationality` ORDER BY COUNT(`nationality`) DESC LIMIT 10;
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":[{\"nationality\":\"Bangladesh\",\"count\":90}]}"
2025-08-16 16:49:43 INFO: GET /api/v1/guests/stats 200 - 65.678 ms
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`created_at` >= '2025-08-15 18:00:00';
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`created_at` >= '2025-08-08 18:00:00';
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`created_at` >= '2025-07-16 18:00:00';
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`status` = 'APPROVED' AND `GuestEntry`.`approved_at` >= '2025-08-15 18:00:00';
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`status` = 'REJECTED' AND `GuestEntry`.`approved_at` >= '2025-08-15 18:00:00';
2025-08-16 16:49:43 INFO: DB Query: Executing (default): SELECT count(*) AS `count` FROM `guest_entries` AS `GuestEntry` WHERE `GuestEntry`.`status` = 'PENDING';
2025-08-16 16:49:43 INFO: Response Body: "{\"success\":true,\"data\":{\"todayEntries\":1,\"last7DaysEntries\":2,\"last30DaysEntries\":90,\"approvedToday\":0,\"rejectedToday\":0,\"pendingEntries\":3}}"
2025-08-16 16:49:48 INFO: GET /api/v1/dropdowns/room-types 200 - 4.875 ms
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:48 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 16:49:48 INFO: GET /api/v1/dropdowns/occupations 304 - 4.243 ms
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:48 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 16:49:48 INFO: GET /api/v1/dropdowns/countries 200 - 6.810 ms
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:48 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 16:49:48 INFO: GET /api/v1/guests?page=1&limit=10&timeRange=All 200 - 17.898 ms
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT count(`GuestEntry`.`id`) AS `count` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id`;
2025-08-16 16:49:48 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` ORDER BY `createdAt` DESC LIMIT 0, 10;
2025-08-16 16:49:48 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntries\":[{\"id\":191,\"reservation_no\":\"RES32104\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801777713283\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":\"BA-12345\",\"ts_number\":\"\",\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755286009831-589377684.png\",\"images\":\"[\\\"/uploads/images/1755286010720-872778220.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-15T19:26:50.000Z\",\"updatedAt\":\"2025-08-15T19:26:50.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null},{\"id\":190,\"reservation_no\":\"234545\",\"arrival_date\":\"2025-08-09\",\"departure_date\":\"2025-08-28\",\"nights_of_stay\":19,\"mobile_number\":\"+8801516180603\",\"room_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"multiroom_type\":null,\"full_name\":\"Muntasir Billah Munna\",\"extra_beds\":0,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"\",\"room_count\":1,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"2025-08-02\",\"number_of_pax\":1,\"nationality\":\"Bangladesh\",\"nid\":\"\",\"adult\":1,\"child\":0,\"infant\":0,\"occupation\":\"Student\",\"address\":\"Mirpur, Dhaka\",\"city\":\"Dhaka\",\"paymode\":\"Cash\",\"company\":\"EXIM BANK\",\"passport_license_number\":\"PS6283980\",\"room_rent\":2000,\"additional_notes\":\"hello world\",\"signature_url\":\"/uploads/signatures/signature-1754747530444-16988614.png\",\"images\":\"[\\\"/uploads/images/1754743310427-274899016.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":13,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-09T12:41:50.000Z\",\"updatedAt\":\"2025-08-09T13:56:06.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":{\"id\":13,\"username\":\"admin10\",\"full_name\":\"Admin User 10\"}},{\"id\":189,\"reservation_no\":\"45083\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01769183410\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Standard King Deluxe (No View)\",\"full_name\":\"MAJOR MD MESBAH UDDIN RUSSEL , MD JAWAD TAJWAR MEHRAB ,  JUNAIRA TAJMEEN MEHRIEN \",\"extra_beds\":0,\"railway_station_drop\":\"no\",\"airport_drop\":\"no\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1973-12-14\",\"number_of_pax\":4,\"nationality\":\"Bangladesh\",\"nid\":\"1234567890\",\"adult\":4,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"Dhaka\",\"city\":\"Dhaka\",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY SERVING\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754645098676-104808719.png\",\"images\":\"[\\\"/uploads/images/1754645098770-30302405.jpg\\\",\\\"/uploads/images/1754645098814-843167280.jpg\\\",\\\"/uploads/images/1754645098857-1150824.jpg\\\",\\\"/uploads/images/1754645098902-817824248.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-08T09:24:59.000Z\",\"updatedAt\":\"2025-08-08T09:26:47.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null},{\"id\":188,\"reservation_no\":\"45502\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01308347660\",\"room_type\":\"Panoramic Suite (Sea View)\",\"multiroom_type\":null,\"full_name\":\",Capt Muhamad Ataul ghani ,suraiya khatun ,faiza nooren,labiba noreeen \",\"extra_beds\":0,\"railway_station_drop\":\"\",\"airport_drop\":\"9 aug  5 .00 pm \",\"room_count\":1,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1975-07-20\",\"number_of_pax\":4,\"nationality\":\"Bangladesh\",\"nid\":\"2843594165\",\"adult\":4,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"Dhaka mirpur pallabi\",\"city\":\"dhaka\",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY RTD\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754733251851-819332626.png\",\"images\":\"[\\\"/uploads/images/1754643862132-527888791.jpg\\\",\\\"/uploads/images/1754643862193-705391761.jpg\\\",\\\"/uploads/images/1754643862275-672148302.jpg\\\",\\\"/uploads/images/1754643862318-733012156.jpg\\\",\\\"/uploads/images/1754643862374-889876956.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":15,\"updated_by\":13,\"approved_at\":\"2025-08-09T09:54:50.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T09:04:22.000Z\",\"updatedAt\":\"2025-08-09T09:54:50.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":15,\"username\":\"admin12\",\"full_name\":\"Admin User 12\"},\"updater\":{\"id\":13,\"username\":\"admin10\",\"full_name\":\"Admin User 10\"}},{\"id\":187,\"reservation_no\":\"45488\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01731172976\",\"room_type\":\"Executive King Deluxe (Garden Sea View)\",\"multiroom_type\":\"Executive King Deluxe (Garden Sea View)\",\"full_name\":\"Sqn Ldr Muhammad Samrat Sharaban Twahura\",\"extra_beds\":0,\"railway_station_drop\":\"No\",\"airport_drop\":\"No\",\"room_count\":1,\"ba_number\":\"9486\",\"ts_number\":\"\",\"date_of_birth\":\"1988-11-22\",\"number_of_pax\":4,\"nationality\":\"Bangladesh\",\"nid\":\"3732143429\",\"adult\":2,\"child\":0,\"infant\":2,\"occupation\":\"Service\",\"address\":\"BAF Base Zahurul Haque, Patenga, Chattogram\",\"city\":\"Ctg\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754640345359-615025801.png\",\"images\":\"[\\\"/uploads/images/1754640345461-736589081.jpg\\\",\\\"/uploads/images/1754640345505-552283487.jpg\\\",\\\"/uploads/images/1754640345549-283201990.jpg\\\",\\\"/uploads/images/1754640345593-433307489.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:33:25.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T08:05:45.000Z\",\"updatedAt\":\"2025-08-08T08:33:25.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null},{\"id\":186,\"reservation_no\":\"45565\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01407959656\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Standard King Deluxe (No View)\",\"full_name\":\"MR ma Arsalan khan sami,Md irfan,dildar hossain,md sakil,\",\"extra_beds\":0,\"railway_station_drop\":\"\",\"airport_drop\":\"TBI\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1999-07-09\",\"number_of_pax\":4,\"nationality\":\"Bangladesh\",\"nid\":\"\",\"adult\":4,\"child\":0,\"infant\":0,\"occupation\":\"FIT\",\"address\":\"H#R#dhaka\",\"city\":\"dhaka \",\"paymode\":\"Cash\",\"company\":\"CIVILIAN\",\"passport_license_number\":\"A18334359\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754638684498-987986300.png\",\"images\":\"[\\\"/uploads/images/1754638684639-635926872.jpg\\\",\\\"/uploads/images/1754638684683-797202178.jpg\\\",\\\"/uploads/images/1754638684727-908061209.jpg\\\",\\\"/uploads/images/1754638684777-180691605.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:33:37.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T07:38:04.000Z\",\"updatedAt\":\"2025-08-08T08:33:37.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null},{\"id\":185,\"reservation_no\":\"44442\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-10\",\"nights_of_stay\":2,\"mobile_number\":\"01736111777\",\"room_type\":\"Executive King Deluxe (Sea View)\",\"multiroom_type\":null,\"full_name\":\"BG MOHAMMAD YUSUF , SHAMIMA AKTER LUNA\",\"extra_beds\":0,\"railway_station_drop\":\"No\",\"airport_drop\":\"No\",\"room_count\":1,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1963-03-01\",\"number_of_pax\":2,\"nationality\":\"Bangladesh\",\"nid\":\"19702650898484215\",\"adult\":2,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"Mirpur dohs \",\"city\":\"Dhaka\",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY RTD\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754637673843-556791343.png\",\"images\":\"[\\\"/uploads/images/1754637673946-777343352.jpg\\\",\\\"/uploads/images/1754637673990-467240006.jpg\\\",\\\"/uploads/images/1754637674035-353333940.jpg\\\",\\\"/uploads/images/1754637674078-375920332.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:33:45.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T07:21:14.000Z\",\"updatedAt\":\"2025-08-08T08:33:45.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null},{\"id\":184,\"reservation_no\":\"45005\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01769004120\",\"room_type\":\"Executive King Deluxe (Sea View)\",\"multiroom_type\":null,\"full_name\":\"BG Mamun ur Rashid,Taniya nabi\",\"extra_beds\":0,\"railway_station_drop\":\"\",\"airport_drop\":\"\",\"room_count\":1,\"ba_number\":\"4120\",\"ts_number\":\"\",\"date_of_birth\":\"1971-07-14\",\"number_of_pax\":2,\"nationality\":\"Bangladesh\",\"nid\":\"6449276606\",\"adult\":2,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"H#R# Dhaka uttor city corporation dhaka \",\"city\":\"dhaka \",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754637538195-668064638.png\",\"images\":\"[\\\"/uploads/images/1754637538233-242688624.jpg\\\",\\\"/uploads/images/1754637538278-880960757.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:33:56.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T07:18:58.000Z\",\"updatedAt\":\"2025-08-08T08:33:56.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null},{\"id\":183,\"reservation_no\":\"45556\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-09\",\"nights_of_stay\":1,\"mobile_number\":\"01769009420\",\"room_type\":\"Executive King Deluxe (Garden Sea View)\",\"multiroom_type\":null,\"full_name\":\"Mr maj anik mahmud shishir,nafisha mustari nodi,\",\"extra_beds\":0,\"railway_station_drop\":\"\",\"airport_drop\":\"TBI\",\"room_count\":1,\"ba_number\":\"9420\",\"ts_number\":\"\",\"date_of_birth\":\"1995-09-30\",\"number_of_pax\":2,\"nationality\":\"Bangladesh\",\"nid\":\"4655308098\",\"adult\":2,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"H#R# dhaka cantonment dhaka \",\"city\":\"dhaka \",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754637145893-199239069.png\",\"images\":\"[\\\"/uploads/images/1754637145940-855004411.jpg\\\",\\\"/uploads/images/1754637145985-186696622.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:34:06.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T07:12:26.000Z\",\"updatedAt\":\"2025-08-08T08:34:06.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null},{\"id\":182,\"reservation_no\":\"44476\",\"arrival_date\":\"2025-08-08\",\"departure_date\":\"2025-08-10\",\"nights_of_stay\":2,\"mobile_number\":\"01769002678\",\"room_type\":\"Executive King Deluxe (Sea View)\",\"multiroom_type\":null,\"full_name\":\"Col  Md Rashidul islam khan , NASIMA SULTAN \",\"extra_beds\":0,\"railway_station_drop\":\"Tbi \",\"airport_drop\":\"Tbi\",\"room_count\":1,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1964-12-24\",\"number_of_pax\":2,\"nationality\":\"Bangladesh\",\"nid\":\"7346051514\",\"adult\":2,\"child\":0,\"infant\":0,\"occupation\":\"Service\",\"address\":\"Dhaka Banani\",\"city\":\"Dhaka\",\"paymode\":\"Cash\",\"company\":\"BANGLADESH ARMY RTD\",\"passport_license_number\":\"\",\"room_rent\":0,\"additional_notes\":\"\",\"signature_url\":\"/uploads/signatures/signature-1754637002966-536413253.png\",\"images\":\"[\\\"/uploads/images/1754637003106-622511398.jpg\\\",\\\"/uploads/images/1754637003153-492173126.jpg\\\",\\\"/uploads/images/1754637003209-246781691.jpg\\\"]\",\"status\":\"APPROVED\",\"created_by\":2,\"approved_by\":1,\"updated_by\":null,\"approved_at\":\"2025-08-08T08:34:19.000Z\",\"rejection_reason\":null,\"createdAt\":\"2025-08-08T07:10:03.000Z\",\"updatedAt\":\"2025-08-08T08:34:19.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":{\"id\":1,\"username\":\"admin\",\"full_name\":\"System Administrator\"},\"updater\":null}],\"pagination\":{\"currentPage\":1,\"totalPages\":9,\"totalItems\":90,\"itemsPerPage\":10}}}"
2025-08-16 16:50:05 INFO: GET /api/v1/dropdowns/room-types 200 - 15.376 ms
2025-08-16 16:50:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 16:50:05 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 16:50:05 INFO: GET /api/v1/dropdowns/paymodes 200 - 13.488 ms
2025-08-16 16:50:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 16:50:05 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 16:50:05 INFO: GET /api/v1/dropdowns/occupations 200 - 11.121 ms
2025-08-16 16:50:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 16:50:05 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 16:50:05 INFO: GET /api/v1/dropdowns/companies 200 - 14.403 ms
2025-08-16 16:50:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 16:50:05 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 16:50:05 INFO: GET /api/v1/dropdowns/countries 200 - 19.268 ms
2025-08-16 16:50:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 16:50:05 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:24:43 INFO: GET /api/v1/auth/profile 200 - 12.602 ms
2025-08-16 17:24:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:24:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:24:43 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:25:53 INFO: GET /api/v1/auth/profile 200 - 12.208 ms
2025-08-16 17:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:25:59 INFO: GET /api/v1/auth/profile 304 - 4.073 ms
2025-08-16 17:25:59 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:25:59 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:25:59 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:26:02 INFO: GET /api/v1/dropdowns/room-types 304 - 10.524 ms
2025-08-16 17:26:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:26:02 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:26:02 INFO: GET /api/v1/dropdowns/occupations 304 - 11.630 ms
2025-08-16 17:26:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:26:02 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:26:02 INFO: GET /api/v1/dropdowns/paymodes 304 - 11.314 ms
2025-08-16 17:26:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:26:02 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:26:02 INFO: GET /api/v1/dropdowns/companies 304 - 12.205 ms
2025-08-16 17:26:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:26:02 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:26:02 INFO: GET /api/v1/dropdowns/countries 304 - 11.925 ms
2025-08-16 17:26:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:26:02 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:31:05 INFO: GET /api/v1/auth/profile 304 - 6.598 ms
2025-08-16 17:31:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:05 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:31:06 INFO: GET /api/v1/dropdowns/room-types 304 - 2.451 ms
2025-08-16 17:31:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:06 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:31:07 INFO: GET /api/v1/dropdowns/occupations 304 - 8.814 ms
2025-08-16 17:31:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:07 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:31:07 INFO: GET /api/v1/dropdowns/paymodes 304 - 9.860 ms
2025-08-16 17:31:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:07 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:31:07 INFO: GET /api/v1/dropdowns/companies 304 - 9.415 ms
2025-08-16 17:31:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:07 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:31:07 INFO: GET /api/v1/dropdowns/countries 304 - 9.417 ms
2025-08-16 17:31:07 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:07 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:31:23 INFO: POST /api/v1/guests/upload-signature 200 - 17.901 ms
2025-08-16 17:31:23 INFO: Request Body: {}
2025-08-16 17:31:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:23 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755343883875-784302176.png\",\"url\":\"/uploads/signatures/signature-1755343883875-784302176.png\"}}}"
2025-08-16 17:31:24 INFO: POST /api/v1/guests 201 - 17.115 ms
2025-08-16 17:31:24 INFO: Request Body: {"reservation_no":"RES15046","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801760493207","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"GBPL","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755343883875-784302176.png","images":[],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 17:31:24 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:24 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 17:31:24 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 192;
2025-08-16 17:31:24 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":192,\"reservation_no\":\"RES15046\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801760493207\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"GBPL\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755343883875-784302176.png\",\"images\":\"[]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T11:31:24.000Z\",\"updatedAt\":\"2025-08-16T11:31:24.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 17:31:29 INFO: GET /api/v1/dropdowns/room-types 304 - 10.239 ms
2025-08-16 17:31:29 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:29 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:31:29 INFO: GET /api/v1/dropdowns/occupations 304 - 10.596 ms
2025-08-16 17:31:29 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:29 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:31:29 INFO: GET /api/v1/dropdowns/paymodes 304 - 10.109 ms
2025-08-16 17:31:29 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:29 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:31:29 INFO: GET /api/v1/dropdowns/companies 304 - 11.229 ms
2025-08-16 17:31:29 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:29 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:31:29 INFO: GET /api/v1/dropdowns/countries 304 - 11.125 ms
2025-08-16 17:31:29 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:31:29 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:32:04 INFO: POST /api/v1/guests/upload-signature 200 - 14.665 ms
2025-08-16 17:32:04 INFO: Request Body: {}
2025-08-16 17:32:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:04 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755343924405-530667253.png\",\"url\":\"/uploads/signatures/signature-1755343924405-530667253.png\"}}}"
2025-08-16 17:32:05 INFO: POST /api/v1/guests/upload-images 200 - 53.575 ms
2025-08-16 17:32:05 INFO: Request Body: {}
2025-08-16 17:32:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:05 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755343925077-333192838.jpg\",\"originalName\":\"camera-photo-1755343918165.jpg\",\"url\":\"/uploads/images/1755343925077-333192838.jpg\"}]}}"
2025-08-16 17:32:05 INFO: POST /api/v1/guests 201 - 16.537 ms
2025-08-16 17:32:05 INFO: Request Body: {"reservation_no":"RES77791","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801744926798","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"CIVILIAN","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755343924405-530667253.png","images":["/uploads/images/1755343925077-333192838.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 17:32:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:05 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 17:32:05 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 193;
2025-08-16 17:32:05 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":193,\"reservation_no\":\"RES77791\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801744926798\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"CIVILIAN\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755343924405-530667253.png\",\"images\":\"[\\\"/uploads/images/1755343925077-333192838.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T11:32:05.000Z\",\"updatedAt\":\"2025-08-16T11:32:05.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 17:32:09 INFO: GET /api/v1/dropdowns/room-types 304 - 8.554 ms
2025-08-16 17:32:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:09 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:32:09 INFO: GET /api/v1/dropdowns/companies 304 - 10.129 ms
2025-08-16 17:32:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:09 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:32:09 INFO: GET /api/v1/dropdowns/occupations 304 - 10.003 ms
2025-08-16 17:32:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:09 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:32:09 INFO: GET /api/v1/dropdowns/paymodes 304 - 10.630 ms
2025-08-16 17:32:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:09 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:32:09 INFO: GET /api/v1/dropdowns/countries 304 - 8.830 ms
2025-08-16 17:32:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:09 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:32:55 INFO: POST /api/v1/guests/upload-signature 200 - 13.964 ms
2025-08-16 17:32:55 INFO: Request Body: {}
2025-08-16 17:32:55 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:32:55 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755343975800-918902901.png\",\"url\":\"/uploads/signatures/signature-1755343975800-918902901.png\"}}}"
2025-08-16 17:33:08 INFO: POST /api/v1/guests/upload-images 200 - 141.062 ms
2025-08-16 17:33:08 INFO: Request Body: {}
2025-08-16 17:33:08 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755343988452-909694712.jpg\",\"originalName\":\"20250816_023258.jpg\",\"url\":\"/uploads/images/1755343988452-909694712.jpg\"},{\"filename\":\"1755343988532-135089532.jpg\",\"originalName\":\"camera-photo-1755343969497.jpg\",\"url\":\"/uploads/images/1755343988532-135089532.jpg\"}]}}"
2025-08-16 17:33:09 INFO: POST /api/v1/guests 201 - 26.731 ms
2025-08-16 17:33:09 INFO: Request Body: {"reservation_no":"RES39802","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801767322222","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"GBPL","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755343975800-918902901.png","images":["/uploads/images/1755343988452-909694712.jpg","/uploads/images/1755343988532-135089532.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 17:33:09 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:33:09 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 17:33:09 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 194;
2025-08-16 17:33:09 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":194,\"reservation_no\":\"RES39802\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801767322222\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"GBPL\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755343975800-918902901.png\",\"images\":\"[\\\"/uploads/images/1755343988452-909694712.jpg\\\",\\\"/uploads/images/1755343988532-135089532.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T11:33:08.000Z\",\"updatedAt\":\"2025-08-16T11:33:08.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 17:33:57 INFO: GET /api/v1/auth/profile 304 - 6.536 ms
2025-08-16 17:33:57 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:33:57 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:33:57 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:34:42 INFO: GET /api/v1/dropdowns/room-types 304 - 13.361 ms
2025-08-16 17:34:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:42 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:34:42 INFO: GET /api/v1/dropdowns/occupations 304 - 13.077 ms
2025-08-16 17:34:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:42 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:34:42 INFO: GET /api/v1/dropdowns/paymodes 304 - 12.376 ms
2025-08-16 17:34:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:42 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:34:42 INFO: GET /api/v1/dropdowns/companies 304 - 11.307 ms
2025-08-16 17:34:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:42 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:34:42 INFO: GET /api/v1/dropdowns/countries 304 - 12.043 ms
2025-08-16 17:34:42 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:42 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:34:49 INFO: GET /api/v1/auth/profile 304 - 3.628 ms
2025-08-16 17:34:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:49 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T10:49:00.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T10:49:00.000Z\"}}}"
2025-08-16 17:34:50 INFO: GET /api/v1/dropdowns/room-types 304 - 2.150 ms
2025-08-16 17:34:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:50 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:34:50 INFO: GET /api/v1/dropdowns/occupations 304 - 1.662 ms
2025-08-16 17:34:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:50 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:34:50 INFO: GET /api/v1/dropdowns/paymodes 304 - 4.399 ms
2025-08-16 17:34:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:50 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:34:50 INFO: GET /api/v1/dropdowns/companies 304 - 4.466 ms
2025-08-16 17:34:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:50 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:34:50 INFO: GET /api/v1/dropdowns/countries 304 - 4.544 ms
2025-08-16 17:34:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:34:50 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:35:13 INFO: POST /api/v1/guests/upload-signature 200 - 14.707 ms
2025-08-16 17:35:13 INFO: Request Body: {}
2025-08-16 17:35:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:35:13 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755344113092-484200203.png\",\"url\":\"/uploads/signatures/signature-1755344113092-484200203.png\"}}}"
2025-08-16 17:43:02 INFO: POST /api/v1/auth/login 200 - 422.970 ms
2025-08-16 17:43:02 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 17:43:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 17:43:02 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 17:43:02 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T11:43:02.911Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T11:43:02.911Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0NDU4MiwiZXhwIjoxNzU1NDMwOTgyfQ.iHC0rS2Gebetyu5bTNUv00QCzUPt8gYVlclktBGeek4\"}}"
2025-08-16 17:43:04 INFO: GET /api/v1/dropdowns/room-types 200 - 5.610 ms
2025-08-16 17:43:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:04 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:43:04 INFO: GET /api/v1/dropdowns/occupations 200 - 9.446 ms
2025-08-16 17:43:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:04 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:43:04 INFO: GET /api/v1/dropdowns/paymodes 200 - 10.032 ms
2025-08-16 17:43:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:04 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:43:04 INFO: GET /api/v1/dropdowns/companies 200 - 9.036 ms
2025-08-16 17:43:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:04 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:43:04 INFO: GET /api/v1/dropdowns/countries 200 - 9.984 ms
2025-08-16 17:43:04 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:04 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:43:45 INFO: POST /api/v1/guests/upload-signature 200 - 13.791 ms
2025-08-16 17:43:45 INFO: Request Body: {}
2025-08-16 17:43:45 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:43:45 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755344625363-156119882.png\",\"url\":\"/uploads/signatures/signature-1755344625363-156119882.png\"}}}"
2025-08-16 17:44:16 INFO: POST /api/v1/guests/upload-signature 200 - 17.508 ms
2025-08-16 17:44:16 INFO: Request Body: {}
2025-08-16 17:44:16 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:16 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755344656070-232743996.png\",\"url\":\"/uploads/signatures/signature-1755344656070-232743996.png\"}}}"
2025-08-16 17:44:16 INFO: POST /api/v1/guests/upload-images 200 - 66.555 ms
2025-08-16 17:44:16 INFO: Request Body: {}
2025-08-16 17:44:16 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:16 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755344656069-224523949.jpg\",\"originalName\":\"camera-photo-1755344652127.jpg\",\"url\":\"/uploads/images/1755344656069-224523949.jpg\"}]}}"
2025-08-16 17:44:16 INFO: POST /api/v1/guests 201 - 16.237 ms
2025-08-16 17:44:16 INFO: Request Body: {"reservation_no":"RES65511","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801764518111","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH ARMY SERVING","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755344656070-232743996.png","images":["/uploads/images/1755344656069-224523949.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 17:44:16 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:16 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 17:44:16 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 195;
2025-08-16 17:44:16 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":195,\"reservation_no\":\"RES65511\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801764518111\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY SERVING\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755344656070-232743996.png\",\"images\":\"[\\\"/uploads/images/1755344656069-224523949.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T11:44:16.000Z\",\"updatedAt\":\"2025-08-16T11:44:16.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 17:44:23 INFO: GET /api/v1/dropdowns/room-types 304 - 3.190 ms
2025-08-16 17:44:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:23 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:44:23 INFO: GET /api/v1/dropdowns/occupations 304 - 3.863 ms
2025-08-16 17:44:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:23 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:44:23 INFO: GET /api/v1/dropdowns/paymodes 304 - 5.020 ms
2025-08-16 17:44:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:23 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:44:23 INFO: GET /api/v1/dropdowns/companies 304 - 4.951 ms
2025-08-16 17:44:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:23 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 17:44:23 INFO: GET /api/v1/dropdowns/countries 304 - 5.527 ms
2025-08-16 17:44:23 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:23 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:44:44 INFO: POST /api/v1/guests/upload-signature 200 - 13.538 ms
2025-08-16 17:44:44 INFO: Request Body: {}
2025-08-16 17:44:44 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:44 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755344684131-976124763.png\",\"url\":\"/uploads/signatures/signature-1755344684131-976124763.png\"}}}"
2025-08-16 17:44:44 INFO: POST /api/v1/guests/upload-images 200 - 50.669 ms
2025-08-16 17:44:44 INFO: Request Body: {}
2025-08-16 17:44:44 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:44 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755344684114-238308936.jpg\",\"originalName\":\"camera-photo-1755344683088.jpg\",\"url\":\"/uploads/images/1755344684114-238308936.jpg\"}]}}"
2025-08-16 17:44:44 INFO: POST /api/v1/guests 201 - 12.475 ms
2025-08-16 17:44:44 INFO: Request Body: {"reservation_no":"RES44331","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801792397797","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"SHIMANTO BANK LIMITED","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755344684131-976124763.png","images":["/uploads/images/1755344684114-238308936.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 17:44:44 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:44:44 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 17:44:44 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 196;
2025-08-16 17:44:44 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":196,\"reservation_no\":\"RES44331\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801792397797\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"SHIMANTO BANK LIMITED\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755344684131-976124763.png\",\"images\":\"[\\\"/uploads/images/1755344684114-238308936.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T11:44:44.000Z\",\"updatedAt\":\"2025-08-16T11:44:44.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 17:46:30 INFO: GET /api/v1/guests/upload-images 401 - 0.634 ms
2025-08-16 17:46:30 INFO: Response Body: "{\"success\":false,\"error\":{\"message\":\"Access denied. No token provided.\"}}"
2025-08-16 17:46:30 WARN: GET /api/v1/guests/upload-images 401 - 0.634 ms
2025-08-16 17:55:56 INFO: GET /api/v1/dropdowns/room-types 304 - 14.408 ms
2025-08-16 17:55:56 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:55:56 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 17:55:56 INFO: GET /api/v1/dropdowns/occupations 304 - 13.515 ms
2025-08-16 17:55:56 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:55:56 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 17:55:56 INFO: GET /api/v1/dropdowns/paymodes 304 - 12.565 ms
2025-08-16 17:55:56 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:55:56 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 17:55:56 INFO: GET /api/v1/dropdowns/countries 304 - 10.572 ms
2025-08-16 17:55:56 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:55:56 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 17:55:56 INFO: GET /api/v1/dropdowns/companies 304 - 13.641 ms
2025-08-16 17:55:56 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 17:55:56 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:08:00 INFO: GET /api/v1/auth/profile 200 - 6.371 ms
2025-08-16 18:08:00 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:00 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:00 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T11:43:02.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T11:43:02.000Z\"}}}"
2025-08-16 18:08:02 INFO: GET /api/v1/dropdowns/room-types 304 - 3.770 ms
2025-08-16 18:08:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:02 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:08:02 INFO: GET /api/v1/dropdowns/occupations 304 - 4.148 ms
2025-08-16 18:08:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:02 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:08:02 INFO: GET /api/v1/dropdowns/countries 304 - 3.507 ms
2025-08-16 18:08:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:02 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:08:03 INFO: GET /api/v1/dropdowns/paymodes 304 - 6.303 ms
2025-08-16 18:08:03 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:03 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:08:03 INFO: GET /api/v1/dropdowns/companies 304 - 4.358 ms
2025-08-16 18:08:03 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:03 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:08:27 INFO: POST /api/v1/guests/upload-signature 200 - 13.802 ms
2025-08-16 18:08:27 INFO: Request Body: {}
2025-08-16 18:08:27 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:08:27 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755346107302-619808954.png\",\"url\":\"/uploads/signatures/signature-1755346107302-619808954.png\"}}}"
2025-08-16 18:09:22 INFO: GET /api/v1/guests/upload-images 401 - 0.650 ms
2025-08-16 18:09:22 INFO: Response Body: "{\"success\":false,\"error\":{\"message\":\"Access denied. No token provided.\"}}"
2025-08-16 18:09:22 WARN: GET /api/v1/guests/upload-images 401 - 0.650 ms
2025-08-16 18:09:50 INFO: POST /api/v1/auth/login 200 - 442.551 ms
2025-08-16 18:09:50 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 18:09:50 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 18:09:50 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 18:09:50 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:09:50.488Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:09:50.488Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0NjE5MCwiZXhwIjoxNzU1NDMyNTkwfQ.Me5XyYKFHtELgQaICWEN8QOssWLXlclLR4fpyWxdGDY\"}}"
2025-08-16 18:09:51 INFO: GET /api/v1/dropdowns/room-types 200 - 10.049 ms
2025-08-16 18:09:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:09:51 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:09:51 INFO: GET /api/v1/dropdowns/occupations 200 - 11.028 ms
2025-08-16 18:09:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:09:51 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:09:51 INFO: GET /api/v1/dropdowns/paymodes 200 - 10.943 ms
2025-08-16 18:09:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:09:51 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:09:51 INFO: GET /api/v1/dropdowns/companies 200 - 11.218 ms
2025-08-16 18:09:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:09:51 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:09:51 INFO: GET /api/v1/dropdowns/countries 200 - 12.302 ms
2025-08-16 18:09:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:09:51 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:10:31 INFO: POST /api/v1/guests/upload-signature 200 - 13.843 ms
2025-08-16 18:10:31 INFO: Request Body: {}
2025-08-16 18:10:31 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:10:31 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755346231238-13565706.png\",\"url\":\"/uploads/signatures/signature-1755346231238-13565706.png\"}}}"
2025-08-16 18:10:31 INFO: POST /api/v1/guests/upload-images 200 - 67.165 ms
2025-08-16 18:10:31 INFO: Request Body: {}
2025-08-16 18:10:31 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:10:31 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755346231340-418571945.jpg\",\"originalName\":\"1000052833.jpg\",\"url\":\"/uploads/images/1755346231340-418571945.jpg\"},{\"filename\":\"1755346231355-131724869.jpg\",\"originalName\":\"camera-photo-1755346227670.jpg\",\"url\":\"/uploads/images/1755346231355-131724869.jpg\"}]}}"
2025-08-16 18:10:31 INFO: POST /api/v1/guests 201 - 21.779 ms
2025-08-16 18:10:31 INFO: Request Body: {"reservation_no":"RES45852","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801768254371","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH AIR FORCE","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755346231238-13565706.png","images":["/uploads/images/1755346231340-418571945.jpg","/uploads/images/1755346231355-131724869.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:10:31 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:10:31 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:10:31 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 197;
2025-08-16 18:10:31 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":197,\"reservation_no\":\"RES45852\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801768254371\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH AIR FORCE\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755346231238-13565706.png\",\"images\":\"[\\\"/uploads/images/1755346231340-418571945.jpg\\\",\\\"/uploads/images/1755346231355-131724869.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:10:31.000Z\",\"updatedAt\":\"2025-08-16T12:10:31.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:15:01 INFO: GET /api/v1/auth/profile 200 - 6.098 ms
2025-08-16 18:15:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:01 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:09:50.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:09:50.000Z\"}}}"
2025-08-16 18:15:13 INFO: GET /api/v1/auth/profile 304 - 5.298 ms
2025-08-16 18:15:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:13 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:09:50.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:09:50.000Z\"}}}"
2025-08-16 18:15:14 INFO: GET /api/v1/auth/profile 304 - 3.245 ms
2025-08-16 18:15:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:14 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:09:50.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:09:50.000Z\"}}}"
2025-08-16 18:15:33 INFO: POST /api/v1/auth/login 200 - 428.203 ms
2025-08-16 18:15:33 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 18:15:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 18:15:33 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 18:15:33 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:15:33.383Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:15:33.383Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0NjUzMywiZXhwIjoxNzU1NDMyOTMzfQ.Cc1A0OpUDafGrIkeXk_EcqXz8rda71N-6QN87vI9Cug\"}}"
2025-08-16 18:15:34 INFO: GET /api/v1/dropdowns/room-types 200 - 4.240 ms
2025-08-16 18:15:34 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:34 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:15:34 INFO: GET /api/v1/dropdowns/occupations 200 - 4.316 ms
2025-08-16 18:15:34 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:34 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:15:34 INFO: GET /api/v1/dropdowns/paymodes 200 - 2.487 ms
2025-08-16 18:15:34 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:34 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:15:34 INFO: GET /api/v1/dropdowns/companies 200 - 2.716 ms
2025-08-16 18:15:34 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:34 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:15:34 INFO: GET /api/v1/dropdowns/countries 200 - 3.351 ms
2025-08-16 18:15:34 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:34 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:15:59 INFO: POST /api/v1/guests/upload-signature 200 - 14.274 ms
2025-08-16 18:15:59 INFO: Request Body: {}
2025-08-16 18:15:59 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:15:59 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755346559006-602722980.png\",\"url\":\"/uploads/signatures/signature-1755346559006-602722980.png\"}}}"
2025-08-16 18:19:05 INFO: POST /api/v1/auth/login 200 - 439.546 ms
2025-08-16 18:19:05 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 18:19:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 18:19:05 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 18:19:05 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:19:05.241Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:19:05.242Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0Njc0NSwiZXhwIjoxNzU1NDMzMTQ1fQ.pijvGscue-nfMpSQvtreyYNvcznHEte22J8GYt_oHxY\"}}"
2025-08-16 18:19:06 INFO: GET /api/v1/dropdowns/room-types 200 - 9.785 ms
2025-08-16 18:19:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:06 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:19:06 INFO: GET /api/v1/dropdowns/occupations 200 - 11.408 ms
2025-08-16 18:19:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:06 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:19:06 INFO: GET /api/v1/dropdowns/paymodes 200 - 12.045 ms
2025-08-16 18:19:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:06 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:19:06 INFO: GET /api/v1/dropdowns/companies 200 - 12.967 ms
2025-08-16 18:19:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:06 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:19:06 INFO: GET /api/v1/dropdowns/countries 200 - 14.391 ms
2025-08-16 18:19:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:06 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:19:46 INFO: POST /api/v1/guests/upload-signature 200 - 20.597 ms
2025-08-16 18:19:46 INFO: Request Body: {}
2025-08-16 18:19:46 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:19:46 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755346786835-792396837.png\",\"url\":\"/uploads/signatures/signature-1755346786835-792396837.png\"}}}"
2025-08-16 18:20:10 INFO: GET /api/v1/guests/upload-images 401 - 0.637 ms
2025-08-16 18:20:10 INFO: Response Body: "{\"success\":false,\"error\":{\"message\":\"Access denied. No token provided.\"}}"
2025-08-16 18:20:10 WARN: GET /api/v1/guests/upload-images 401 - 0.637 ms
2025-08-16 18:23:52 INFO: GET /api/v1/auth/profile 200 - 6.567 ms
2025-08-16 18:23:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:23:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:23:52 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:19:05.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:19:05.000Z\"}}}"
2025-08-16 18:24:01 INFO: GET /api/v1/dropdowns/room-types 200 - 10.239 ms
2025-08-16 18:24:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:01 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:24:01 INFO: GET /api/v1/dropdowns/occupations 200 - 10.756 ms
2025-08-16 18:24:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:01 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:24:01 INFO: GET /api/v1/dropdowns/paymodes 200 - 10.954 ms
2025-08-16 18:24:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:01 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:24:01 INFO: GET /api/v1/dropdowns/companies 200 - 11.472 ms
2025-08-16 18:24:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:01 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:24:01 INFO: GET /api/v1/dropdowns/countries 200 - 12.670 ms
2025-08-16 18:24:01 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:01 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:24:24 INFO: POST /api/v1/guests/upload-signature 200 - 14.219 ms
2025-08-16 18:24:24 INFO: Request Body: {}
2025-08-16 18:24:24 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:24:24 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347064880-40970129.png\",\"url\":\"/uploads/signatures/signature-1755347064880-40970129.png\"}}}"
2025-08-16 18:24:58 INFO: GET /api/v1/guests/upload-images 401 - 0.667 ms
2025-08-16 18:24:58 INFO: Response Body: "{\"success\":false,\"error\":{\"message\":\"Access denied. No token provided.\"}}"
2025-08-16 18:24:58 WARN: GET /api/v1/guests/upload-images 401 - 0.667 ms
2025-08-16 18:25:53 INFO: POST /api/v1/auth/login 200 - 449.710 ms
2025-08-16 18:25:53 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 18:25:53 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 18:25:53 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 18:25:53 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:25:53.157Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:25:53.157Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0NzE1MywiZXhwIjoxNzU1NDMzNTUzfQ.yYyShfW5N8p4J1twhnMLrlQ0PmbhTGC_9O8KUAPneQY\"}}"
2025-08-16 18:25:54 INFO: GET /api/v1/dropdowns/room-types 200 - 2.718 ms
2025-08-16 18:25:54 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:25:54 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:25:54 INFO: GET /api/v1/dropdowns/occupations 200 - 3.701 ms
2025-08-16 18:25:54 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:25:54 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:25:54 INFO: GET /api/v1/dropdowns/paymodes 200 - 6.719 ms
2025-08-16 18:25:54 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:25:54 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:25:54 INFO: GET /api/v1/dropdowns/companies 200 - 4.859 ms
2025-08-16 18:25:54 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:25:54 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:25:54 INFO: GET /api/v1/dropdowns/countries 200 - 9.550 ms
2025-08-16 18:25:54 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:25:54 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:26:58 INFO: POST /api/v1/guests/upload-signature 200 - 15.202 ms
2025-08-16 18:26:58 INFO: Request Body: {}
2025-08-16 18:26:58 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:26:58 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347218806-584469358.png\",\"url\":\"/uploads/signatures/signature-1755347218806-584469358.png\"}}}"
2025-08-16 18:26:58 INFO: POST /api/v1/guests/upload-images 200 - 137.228 ms
2025-08-16 18:26:58 INFO: Request Body: {}
2025-08-16 18:26:58 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755347218841-66574402.jpg\",\"originalName\":\"camera-photo-1755347200688.jpg\",\"url\":\"/uploads/images/1755347218841-66574402.jpg\"},{\"filename\":\"1755347218885-125823932.jpg\",\"originalName\":\"camera-photo-1755347204010.jpg\",\"url\":\"/uploads/images/1755347218885-125823932.jpg\"},{\"filename\":\"1755347218929-916887028.jpg\",\"originalName\":\"camera-photo-1755347205561.jpg\",\"url\":\"/uploads/images/1755347218929-916887028.jpg\"}]}}"
2025-08-16 18:26:59 INFO: POST /api/v1/guests 201 - 17.759 ms
2025-08-16 18:26:59 INFO: Request Body: {"reservation_no":"RES37167","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801764666730","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"BA-12345","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH ARMY","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755347218806-584469358.png","images":["/uploads/images/1755347218841-66574402.jpg","/uploads/images/1755347218885-125823932.jpg","/uploads/images/1755347218929-916887028.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:26:59 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:26:59 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:26:59 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 198;
2025-08-16 18:26:59 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":198,\"reservation_no\":\"RES37167\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801764666730\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":\"BA-12345\",\"ts_number\":\"\",\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755347218806-584469358.png\",\"images\":\"[\\\"/uploads/images/1755347218841-66574402.jpg\\\",\\\"/uploads/images/1755347218885-125823932.jpg\\\",\\\"/uploads/images/1755347218929-916887028.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:26:59.000Z\",\"updatedAt\":\"2025-08-16T12:26:59.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:27:05 INFO: GET /api/v1/dropdowns/room-types 304 - 4.990 ms
2025-08-16 18:27:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:05 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:27:05 INFO: GET /api/v1/dropdowns/occupations 304 - 7.457 ms
2025-08-16 18:27:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:05 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:27:05 INFO: GET /api/v1/dropdowns/paymodes 304 - 8.638 ms
2025-08-16 18:27:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:05 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:27:05 INFO: GET /api/v1/dropdowns/companies 304 - 9.637 ms
2025-08-16 18:27:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:05 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:27:05 INFO: GET /api/v1/dropdowns/countries 304 - 6.766 ms
2025-08-16 18:27:05 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:05 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:27:51 INFO: POST /api/v1/guests/upload-signature 200 - 15.575 ms
2025-08-16 18:27:51 INFO: Request Body: {}
2025-08-16 18:27:51 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:51 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347271816-26798939.png\",\"url\":\"/uploads/signatures/signature-1755347271816-26798939.png\"}}}"
2025-08-16 18:27:52 INFO: POST /api/v1/guests/upload-images 200 - 111.883 ms
2025-08-16 18:27:52 INFO: Request Body: {}
2025-08-16 18:27:52 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755347272318-490560242.jpg\",\"originalName\":\"Screenshot_20250616_125246_org.mozilla.firefox.jpg\",\"url\":\"/uploads/images/1755347272318-490560242.jpg\"},{\"filename\":\"1755347272370-803912248.jpg\",\"originalName\":\"Screenshot_20230904_114527_com.zhiliaoapp.musically.jpg\",\"url\":\"/uploads/images/1755347272370-803912248.jpg\"}]}}"
2025-08-16 18:27:52 INFO: POST /api/v1/guests 201 - 18.769 ms
2025-08-16 18:27:52 INFO: Request Body: {"reservation_no":"RES6428","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801714725591","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"TS-67890","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH ARMY","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755347271816-26798939.png","images":["/uploads/images/1755347272318-490560242.jpg","/uploads/images/1755347272370-803912248.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:27:52 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:27:52 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:27:52 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 199;
2025-08-16 18:27:52 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":199,\"reservation_no\":\"RES6428\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801714725591\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":\"\",\"ts_number\":\"TS-67890\",\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755347271816-26798939.png\",\"images\":\"[\\\"/uploads/images/1755347272318-490560242.jpg\\\",\\\"/uploads/images/1755347272370-803912248.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:27:52.000Z\",\"updatedAt\":\"2025-08-16T12:27:52.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:28:02 INFO: GET /api/v1/dropdowns/room-types 304 - 3.565 ms
2025-08-16 18:28:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:28:02 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:28:02 INFO: GET /api/v1/dropdowns/occupations 304 - 9.387 ms
2025-08-16 18:28:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:28:02 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:28:02 INFO: GET /api/v1/dropdowns/paymodes 304 - 8.355 ms
2025-08-16 18:28:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:28:02 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:28:02 INFO: GET /api/v1/dropdowns/companies 304 - 8.793 ms
2025-08-16 18:28:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:28:02 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:28:02 INFO: GET /api/v1/dropdowns/countries 304 - 8.860 ms
2025-08-16 18:28:02 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:28:02 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:31:25 INFO: GET /api/v1/auth/profile 200 - 6.569 ms
2025-08-16 18:31:25 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:25 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:25 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:25:53.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:25:53.000Z\"}}}"
2025-08-16 18:31:26 INFO: GET /api/v1/dropdowns/room-types 200 - 2.764 ms
2025-08-16 18:31:26 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:26 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:31:26 INFO: GET /api/v1/dropdowns/occupations 200 - 2.338 ms
2025-08-16 18:31:26 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:26 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:31:26 INFO: GET /api/v1/dropdowns/paymodes 200 - 7.021 ms
2025-08-16 18:31:26 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:26 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:31:26 INFO: GET /api/v1/dropdowns/companies 200 - 6.983 ms
2025-08-16 18:31:26 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:26 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:31:26 INFO: GET /api/v1/dropdowns/countries 200 - 8.546 ms
2025-08-16 18:31:26 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:31:26 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:32:06 INFO: POST /api/v1/guests/upload-signature 200 - 14.512 ms
2025-08-16 18:32:06 INFO: Request Body: {}
2025-08-16 18:32:06 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:32:06 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347526281-91631014.png\",\"url\":\"/uploads/signatures/signature-1755347526281-91631014.png\"}}}"
2025-08-16 18:33:35 INFO: POST /api/v1/guests/upload-signature 200 - 14.587 ms
2025-08-16 18:33:35 INFO: Request Body: {}
2025-08-16 18:33:35 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:35 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347615039-609516654.png\",\"url\":\"/uploads/signatures/signature-1755347615039-609516654.png\"}}}"
2025-08-16 18:33:35 INFO: POST /api/v1/guests/upload-images 200 - 90.908 ms
2025-08-16 18:33:35 INFO: Request Body: {}
2025-08-16 18:33:35 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755347615104-122069666.jpg\",\"originalName\":\"camera-photo-1755347604388.jpg\",\"url\":\"/uploads/images/1755347615104-122069666.jpg\"},{\"filename\":\"1755347615148-645257968.jpg\",\"originalName\":\"camera-photo-1755347604892.jpg\",\"url\":\"/uploads/images/1755347615148-645257968.jpg\"}]}}"
2025-08-16 18:33:35 INFO: POST /api/v1/guests 201 - 14.651 ms
2025-08-16 18:33:35 INFO: Request Body: {"reservation_no":"RES51283","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801730907751","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"GBPL","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755347615039-609516654.png","images":["/uploads/images/1755347615104-122069666.jpg","/uploads/images/1755347615148-645257968.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:33:35 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:35 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:33:35 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 200;
2025-08-16 18:33:35 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":200,\"reservation_no\":\"RES51283\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801730907751\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"GBPL\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755347615039-609516654.png\",\"images\":\"[\\\"/uploads/images/1755347615104-122069666.jpg\\\",\\\"/uploads/images/1755347615148-645257968.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:33:35.000Z\",\"updatedAt\":\"2025-08-16T12:33:35.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:33:38 INFO: GET /api/v1/dropdowns/room-types 304 - 2.267 ms
2025-08-16 18:33:38 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:38 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:33:38 INFO: GET /api/v1/dropdowns/occupations 304 - 2.047 ms
2025-08-16 18:33:38 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:38 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:33:38 INFO: GET /api/v1/dropdowns/paymodes 304 - 3.801 ms
2025-08-16 18:33:38 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:38 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:33:38 INFO: GET /api/v1/dropdowns/countries 304 - 5.778 ms
2025-08-16 18:33:38 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:38 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:33:38 INFO: GET /api/v1/dropdowns/companies 304 - 3.736 ms
2025-08-16 18:33:38 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:38 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:33:59 INFO: POST /api/v1/guests/upload-signature 200 - 13.730 ms
2025-08-16 18:33:59 INFO: Request Body: {}
2025-08-16 18:33:59 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:33:59 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347639652-627211106.png\",\"url\":\"/uploads/signatures/signature-1755347639652-627211106.png\"}}}"
2025-08-16 18:34:00 INFO: POST /api/v1/guests/upload-images 200 - 53.911 ms
2025-08-16 18:34:00 INFO: Request Body: {}
2025-08-16 18:34:00 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755347640587-82886227.jpg\",\"originalName\":\"20250816_023258.jpg\",\"url\":\"/uploads/images/1755347640587-82886227.jpg\"}]}}"
2025-08-16 18:34:00 INFO: POST /api/v1/guests 201 - 37.205 ms
2025-08-16 18:34:00 INFO: Request Body: {"reservation_no":"RES74591","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801773346633","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"GRAMEEN PHONE","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755347639652-627211106.png","images":["/uploads/images/1755347640587-82886227.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:34:00 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:34:00 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:34:00 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 201;
2025-08-16 18:34:00 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":201,\"reservation_no\":\"RES74591\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801773346633\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"GRAMEEN PHONE\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755347639652-627211106.png\",\"images\":\"[\\\"/uploads/images/1755347640587-82886227.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:34:00.000Z\",\"updatedAt\":\"2025-08-16T12:34:00.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:35:14 INFO: GET /api/v1/dropdowns/countries 304 - 11.421 ms
2025-08-16 18:35:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:14 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:35:14 INFO: GET /api/v1/dropdowns/occupations 304 - 23.950 ms
2025-08-16 18:35:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:14 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:35:14 INFO: GET /api/v1/dropdowns/companies 304 - 16.985 ms
2025-08-16 18:35:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:14 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:35:14 INFO: GET /api/v1/dropdowns/room-types 304 - 23.539 ms
2025-08-16 18:35:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:14 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:35:14 INFO: GET /api/v1/dropdowns/paymodes 304 - 22.739 ms
2025-08-16 18:35:14 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:14 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:35:33 INFO: GET /api/v1/dropdowns/room-types 304 - 21.365 ms
2025-08-16 18:35:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:33 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:35:33 INFO: GET /api/v1/dropdowns/paymodes 304 - 16.949 ms
2025-08-16 18:35:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:33 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:35:33 INFO: GET /api/v1/dropdowns/countries 304 - 21.722 ms
2025-08-16 18:35:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:33 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:35:33 INFO: GET /api/v1/dropdowns/occupations 304 - 20.717 ms
2025-08-16 18:35:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:33 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:35:33 INFO: GET /api/v1/dropdowns/companies 304 - 18.476 ms
2025-08-16 18:35:33 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:35:33 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:37:48 INFO: GET /api/v1/auth/profile 304 - 5.171 ms
2025-08-16 18:37:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:48 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:48 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:25:53.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:25:53.000Z\"}}}"
2025-08-16 18:37:49 INFO: GET /api/v1/dropdowns/room-types 304 - 3.609 ms
2025-08-16 18:37:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:49 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:37:49 INFO: GET /api/v1/dropdowns/occupations 304 - 3.917 ms
2025-08-16 18:37:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:49 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:37:49 INFO: GET /api/v1/dropdowns/paymodes 304 - 4.218 ms
2025-08-16 18:37:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:49 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:37:49 INFO: GET /api/v1/dropdowns/companies 304 - 5.690 ms
2025-08-16 18:37:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:49 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:37:49 INFO: GET /api/v1/dropdowns/countries 304 - 4.003 ms
2025-08-16 18:37:49 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:37:49 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:38:15 INFO: POST /api/v1/guests/upload-signature 200 - 15.042 ms
2025-08-16 18:38:15 INFO: Request Body: {}
2025-08-16 18:38:15 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:38:15 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755347895665-391769517.png\",\"url\":\"/uploads/signatures/signature-1755347895665-391769517.png\"}}}"
2025-08-16 18:38:15 INFO: POST /api/v1/guests/upload-images 200 - 78.549 ms
2025-08-16 18:38:15 INFO: Request Body: {}
2025-08-16 18:38:15 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:38:15 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755347895657-597918054.jpg\",\"originalName\":\"camera-photo-1755347894922.jpg\",\"url\":\"/uploads/images/1755347895657-597918054.jpg\"}]}}"
2025-08-16 18:38:15 INFO: POST /api/v1/guests 201 - 14.795 ms
2025-08-16 18:38:15 INFO: Request Body: {"reservation_no":"RES75595","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801753581000","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH ARMY SERVING","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755347895665-391769517.png","images":["/uploads/images/1755347895657-597918054.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:38:15 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:38:15 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:38:15 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 202;
2025-08-16 18:38:15 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":202,\"reservation_no\":\"RES75595\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801753581000\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH ARMY SERVING\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755347895665-391769517.png\",\"images\":\"[\\\"/uploads/images/1755347895657-597918054.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:38:15.000Z\",\"updatedAt\":\"2025-08-16T12:38:15.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 18:42:12 INFO: POST /api/v1/auth/login 200 - 463.729 ms
2025-08-16 18:42:12 INFO: Request Body: {"username":"reception","password":"reception123"}
2025-08-16 18:42:12 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`username` = 'reception' AND `User`.`is_active` = true AND `User`.`is_deleted` = false;
2025-08-16 18:42:12 INFO: DB Query: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2025-08-16 18:42:12 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:42:12.563Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:42:12.564Z\"},\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InJlY2VwdGlvbiIsImlhdCI6MTc1NTM0ODEzMiwiZXhwIjoxNzU1NDM0NTMyfQ.UfeoyQQi9gFeWmTS52rMrafDSxs6n5E-uwkWYs287PM\"}}"
2025-08-16 18:42:13 INFO: GET /api/v1/dropdowns/room-types 200 - 2.695 ms
2025-08-16 18:42:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:42:13 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 18:42:13 INFO: GET /api/v1/dropdowns/occupations 200 - 1.908 ms
2025-08-16 18:42:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:42:13 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 18:42:13 INFO: GET /api/v1/dropdowns/paymodes 200 - 6.891 ms
2025-08-16 18:42:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:42:13 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 18:42:13 INFO: GET /api/v1/dropdowns/companies 200 - 7.383 ms
2025-08-16 18:42:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:42:13 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 18:42:13 INFO: GET /api/v1/dropdowns/countries 200 - 9.577 ms
2025-08-16 18:42:13 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:42:13 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 18:43:15 INFO: POST /api/v1/guests/upload-signature 200 - 17.223 ms
2025-08-16 18:43:15 INFO: Request Body: {}
2025-08-16 18:43:15 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:43:15 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755348195908-298207127.png\",\"url\":\"/uploads/signatures/signature-1755348195908-298207127.png\"}}}"
2025-08-16 18:43:16 INFO: POST /api/v1/guests/upload-images 200 - 70.536 ms
2025-08-16 18:43:16 INFO: Request Body: {}
2025-08-16 18:43:16 INFO: Response Body: "{\"success\":true,\"data\":{\"images\":[{\"filename\":\"1755348196018-717970326.jpg\",\"originalName\":\"1000076296.jpg\",\"url\":\"/uploads/images/1755348196018-717970326.jpg\"},{\"filename\":\"1755348196040-20214199.jpg\",\"originalName\":\"camera-photo-1755348171121.jpg\",\"url\":\"/uploads/images/1755348196040-20214199.jpg\"}]}}"
2025-08-16 18:43:16 INFO: POST /api/v1/guests 201 - 12.664 ms
2025-08-16 18:43:16 INFO: Request Body: {"reservation_no":"RES64520","arrival_date":"2025-08-01","departure_date":"2025-08-05","mobile_number":"+8801771404524","room_type":"Standard King Deluxe (No View)","multiroom_type":"Economy Twin Deluxe (Ground Floor, Garden View)","full_name":"John Doe","extra_beds":1,"railway_station_drop":"Railway Station Drop Details","airport_drop":"Airport Drop Details","room_count":2,"ba_number":"","ts_number":"","date_of_birth":"1990-05-15","number_of_pax":3,"nationality":"Bangladesh","nid":"12345678901234567","adult":2,"child":1,"infant":0,"occupation":"Engineer","address":"123 Demo Street, Demo Apartment","city":"Dhaka","paymode":"Credit Card","company":"BANGLADESH","passport_license_number":"AB1234567","room_rent":5000,"signature_url":"/uploads/signatures/signature-1755348195908-298207127.png","images":["/uploads/images/1755348196018-717970326.jpg","/uploads/images/1755348196040-20214199.jpg"],"additional_notes":"Demo notes: This is a sample note for the guest entry.","nights_of_stay":4}
2025-08-16 18:43:16 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 18:43:16 INFO: DB Query: Executing (default): INSERT INTO `guest_entries` (`id`,`reservation_no`,`arrival_date`,`departure_date`,`nights_of_stay`,`mobile_number`,`room_type`,`multiroom_type`,`full_name`,`extra_beds`,`railway_station_drop`,`airport_drop`,`room_count`,`ba_number`,`ts_number`,`date_of_birth`,`number_of_pax`,`nationality`,`nid`,`adult`,`child`,`infant`,`occupation`,`address`,`city`,`paymode`,`company`,`passport_license_number`,`room_rent`,`additional_notes`,`signature_url`,`images`,`status`,`created_by`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2025-08-16 18:43:16 INFO: DB Query: Executing (default): SELECT `GuestEntry`.`id`, `GuestEntry`.`reservation_no`, `GuestEntry`.`arrival_date`, `GuestEntry`.`departure_date`, `GuestEntry`.`nights_of_stay`, `GuestEntry`.`mobile_number`, `GuestEntry`.`room_type`, `GuestEntry`.`multiroom_type`, `GuestEntry`.`full_name`, `GuestEntry`.`extra_beds`, `GuestEntry`.`railway_station_drop`, `GuestEntry`.`airport_drop`, `GuestEntry`.`room_count`, `GuestEntry`.`ba_number`, `GuestEntry`.`ts_number`, `GuestEntry`.`date_of_birth`, `GuestEntry`.`number_of_pax`, `GuestEntry`.`nationality`, `GuestEntry`.`nid`, `GuestEntry`.`adult`, `GuestEntry`.`child`, `GuestEntry`.`infant`, `GuestEntry`.`occupation`, `GuestEntry`.`address`, `GuestEntry`.`city`, `GuestEntry`.`paymode`, `GuestEntry`.`company`, `GuestEntry`.`passport_license_number`, `GuestEntry`.`room_rent`, `GuestEntry`.`additional_notes`, `GuestEntry`.`signature_url`, `GuestEntry`.`images`, `GuestEntry`.`status`, `GuestEntry`.`created_by`, `GuestEntry`.`approved_by`, `GuestEntry`.`updated_by`, `GuestEntry`.`approved_at`, `GuestEntry`.`rejection_reason`, `GuestEntry`.`created_at` AS `createdAt`, `GuestEntry`.`updated_at` AS `updatedAt`, `creator`.`id` AS `creator.id`, `creator`.`username` AS `creator.username`, `creator`.`full_name` AS `creator.full_name`, `approver`.`id` AS `approver.id`, `approver`.`username` AS `approver.username`, `approver`.`full_name` AS `approver.full_name`, `updater`.`id` AS `updater.id`, `updater`.`username` AS `updater.username`, `updater`.`full_name` AS `updater.full_name` FROM `guest_entries` AS `GuestEntry` LEFT OUTER JOIN `users` AS `creator` ON `GuestEntry`.`created_by` = `creator`.`id` LEFT OUTER JOIN `users` AS `approver` ON `GuestEntry`.`approved_by` = `approver`.`id` LEFT OUTER JOIN `users` AS `updater` ON `GuestEntry`.`updated_by` = `updater`.`id` WHERE `GuestEntry`.`id` = 203;
2025-08-16 18:43:16 INFO: Response Body: "{\"success\":true,\"data\":{\"guestEntry\":{\"id\":203,\"reservation_no\":\"RES64520\",\"arrival_date\":\"2025-08-01\",\"departure_date\":\"2025-08-05\",\"nights_of_stay\":4,\"mobile_number\":\"+8801771404524\",\"room_type\":\"Standard King Deluxe (No View)\",\"multiroom_type\":\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"full_name\":\"John Doe\",\"extra_beds\":1,\"railway_station_drop\":\"Railway Station Drop Details\",\"airport_drop\":\"Airport Drop Details\",\"room_count\":2,\"ba_number\":null,\"ts_number\":null,\"date_of_birth\":\"1990-05-15\",\"number_of_pax\":3,\"nationality\":\"Bangladesh\",\"nid\":\"12345678901234567\",\"adult\":2,\"child\":1,\"infant\":0,\"occupation\":\"Engineer\",\"address\":\"123 Demo Street, Demo Apartment\",\"city\":\"Dhaka\",\"paymode\":\"Credit Card\",\"company\":\"BANGLADESH\",\"passport_license_number\":\"AB1234567\",\"room_rent\":5000,\"additional_notes\":\"Demo notes: This is a sample note for the guest entry.\",\"signature_url\":\"/uploads/signatures/signature-1755348195908-298207127.png\",\"images\":\"[\\\"/uploads/images/1755348196018-717970326.jpg\\\",\\\"/uploads/images/1755348196040-20214199.jpg\\\"]\",\"status\":\"PENDING\",\"created_by\":2,\"approved_by\":null,\"updated_by\":null,\"approved_at\":null,\"rejection_reason\":null,\"createdAt\":\"2025-08-16T12:43:16.000Z\",\"updatedAt\":\"2025-08-16T12:43:16.000Z\",\"creator\":{\"id\":2,\"username\":\"reception\",\"full_name\":\"Reception Staff\"},\"approver\":null,\"updater\":null}}}"
2025-08-16 19:48:52 INFO: GET / 404 - 1.451 ms
2025-08-16 19:48:52 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 19:48:52 WARN: GET / 404 - 1.451 ms
2025-08-16 19:54:47 INFO: GET / 404 - 0.733 ms
2025-08-16 19:54:47 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 19:54:47 WARN: GET / 404 - 0.733 ms
2025-08-16 20:31:43 INFO: GET /api/v1/auth/profile 200 - 6.067 ms
2025-08-16 20:31:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:31:43 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:31:43 INFO: Response Body: "{\"success\":true,\"data\":{\"user\":{\"id\":2,\"username\":\"reception\",\"email\":\"reception@guestease.com\",\"role\":\"reception\",\"full_name\":\"Reception Staff\",\"is_active\":true,\"last_login\":\"2025-08-16T12:42:12.000Z\",\"is_deleted\":false,\"createdAt\":\"2025-08-02T11:05:25.000Z\",\"updatedAt\":\"2025-08-16T12:42:12.000Z\"}}}"
2025-08-16 20:34:40 INFO: GET /api/v1/dropdowns/room-types 304 - 14.342 ms
2025-08-16 20:34:40 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:34:40 INFO: Response Body: "{\"success\":true,\"data\":{\"roomTypes\":[\"Economy Queen Deluxe (Ground Floor, No View)\",\"Economy Twin Deluxe (Ground Floor, Garden View)\",\"Standard King Deluxe (No View)\",\"Superior Queen Deluxe (City View)\",\"Superior Queen Deluxe (Garden Sea View)\",\"Economy Suite (No View)\",\"Executive King Deluxe (Sea View)\",\"Executive King Deluxe (Garden Sea View)\",\"Superior Suite (City View)\",\"Executive Suite (Sea View)\",\"Panoramic Suite (Sea View)\",\"Premier Suite (Partial Sea View)\",\"Royal Panoramic Suite (Sea View)\"]}}"
2025-08-16 20:34:40 INFO: GET /api/v1/dropdowns/occupations 304 - 13.498 ms
2025-08-16 20:34:40 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:34:40 INFO: Response Body: "{\"success\":true,\"data\":{\"occupations\":[\"Service\",\"FIT\",\"Student\",\"Doctor\",\"Engineer\"]}}"
2025-08-16 20:34:40 INFO: GET /api/v1/dropdowns/paymodes 304 - 12.378 ms
2025-08-16 20:34:40 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:34:40 INFO: Response Body: "{\"success\":true,\"data\":{\"paymodes\":[\"Cash\",\"Credit Card\",\"Company\",\"Cheque\"]}}"
2025-08-16 20:34:40 INFO: GET /api/v1/dropdowns/companies 304 - 11.077 ms
2025-08-16 20:34:40 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:34:40 INFO: Response Body: "{\"success\":true,\"data\":{\"companies\":[\"N/A\",\"BANGLADESH ARMY\",\"CIVILIAN\",\"GRAMEEN PHONE\",\"HALF BOARD PACAKAGE\",\"IIBL\",\"GBPL\",\"SHIMANTO BANK LIMITED\",\"BANGLADESH ARMY SERVING\",\"TRUST AXIATA DIGITAL LTD\",\"BANGLADESH\",\"BANGLADESH NAVY\",\"BANGLADESH AIR FORCE\",\"BOOKING BY ONLINE\",\"BMTF\",\"BMA\",\"EXIM BANK\",\"BANGLADESH ARMY RTD\",\"ISLAMI INSURANCE BANGLADESH LIMITED.\",\"ROBI\",\"DSMAXBD\",\"SHEBA.XYZ\",\"NORINCO GROUP\"]}}"
2025-08-16 20:34:40 INFO: GET /api/v1/dropdowns/countries 304 - 10.930 ms
2025-08-16 20:34:40 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:34:40 INFO: Response Body: "{\"success\":true,\"data\":{\"countries\":[\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\",\"Luxembourg\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Maldives\",\"Mali\",\"Malta\",\"Marshall Islands\",\"Mauritania\",\"Mauritius\",\"Mexico\",\"Micronesia\",\"Moldova\",\"Monaco\",\"Mongolia\",\"Montenegro\",\"Morocco\",\"Mozambique\",\"Myanmar\",\"Namibia\",\"Nauru\",\"Nepal\",\"Netherlands\",\"New Zealand\",\"Nicaragua\",\"Niger\",\"Nigeria\",\"North Korea\",\"North Macedonia\",\"Norway\",\"Oman\",\"Pakistan\",\"Palau\",\"Panama\",\"Papua New Guinea\",\"Paraguay\",\"Peru\",\"Philippines\",\"Poland\",\"Portugal\",\"Qatar\",\"Romania\",\"Russia\",\"Rwanda\",\"Saint Kitts and Nevis\",\"Saint Lucia\",\"Saint Vincent and the Grenadines\",\"Samoa\",\"San Marino\",\"Sao Tome and Principe\",\"Saudi Arabia\",\"Senegal\",\"Serbia\",\"Seychelles\",\"Sierra Leone\",\"Singapore\",\"Slovakia\",\"Slovenia\",\"Solomon Islands\",\"Somalia\",\"South Africa\",\"South Korea\",\"South Sudan\",\"Spain\",\"Sri Lanka\",\"Sudan\",\"Suriname\",\"Sweden\",\"Switzerland\",\"Syria\",\"Taiwan\",\"Tajikistan\",\"Tanzania\",\"Thailand\",\"Timor-Leste\",\"Togo\",\"Tonga\",\"Trinidad and Tobago\",\"Tunisia\",\"Turkey\",\"Turkmenistan\",\"Tuvalu\",\"Uganda\",\"Ukraine\",\"United Arab Emirates\",\"United Kingdom\",\"United States\",\"Uruguay\",\"Uzbekistan\",\"Vanuatu\",\"Vatican City\",\"Venezuela\",\"Vietnam\",\"Yemen\",\"Zambia\",\"Zimbabwe\"]}}"
2025-08-16 20:35:08 INFO: POST /api/v1/guests/upload-signature 200 - 14.344 ms
2025-08-16 20:35:08 INFO: Request Body: {}
2025-08-16 20:35:08 INFO: DB Query: Executing (default): SELECT `id`, `username`, `email`, `password`, `role`, `full_name`, `is_active`, `last_login`, `is_deleted`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 2;
2025-08-16 20:35:08 INFO: Response Body: "{\"success\":true,\"data\":{\"signature\":{\"filename\":\"signature-1755354908974-921293419.png\",\"url\":\"/uploads/signatures/signature-1755354908974-921293419.png\"}}}"
2025-08-16 22:52:56 INFO: GET / 404 - 0.641 ms
2025-08-16 22:52:56 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 22:52:56 WARN: GET / 404 - 0.641 ms
2025-08-16 22:53:04 INFO: GET / 404 - 0.612 ms
2025-08-16 22:53:04 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 22:53:04 WARN: GET / 404 - 0.612 ms
2025-08-16 23:36:47 INFO: GET / 404 - 0.605 ms
2025-08-16 23:36:47 INFO: Response Body: "{\"error\":\"Not Found\",\"message\":\"The requested resource was not found on this server.\",\"path\":\"/\"}"
2025-08-16 23:36:47 WARN: GET / 404 - 0.605 ms
