Add password reset endpoint and refactor booking count logic

- Introduce `POST /auth/password-reset/request` endpoint in test and `authRoute.php`.
- Refactor bookings route to use a new method `getDailyUnfulfilledBookingsCountForDepartment`
This commit is contained in:
Jeppe Bundgaard
2026-01-22 14:38:54 +01:00
parent 29c53c3b70
commit 64faea9324
4 changed files with 35 additions and 7 deletions
+9
View File
@@ -44,6 +44,15 @@ Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb206
"safety_seal": 123456
}
### POST request password reset
POST https://api.truckwash.dk:4433/auth/password-reset/request
Accept: application/json
Content-Type: application/json
{
"customer_number": 12345679
}
###
### POST request to order bookings
POST https://api.truckwash.dk:4433/order-bookings