Commit Graph
643 Commits
Author SHA1 Message Date
Jeppe Bundgaard 5b364e2141 Add attachment management endpoints to departmentSelfserveTasksRoute and update OpenAPI spec for attachments 2026-01-09 09:29:12 +01:00
Jeppe Bundgaard d00337c050 Add delete method to department_selfserve_questions_o for removing question references from tasks 2026-01-08 14:25:38 +01:00
Jeppe Bundgaard 1fc2a96eb7 Remove redundant return statement in selfserve_lane_port_controller_t 2026-01-08 14:20:05 +01:00
Jeppe Bundgaard c7e5e037bc Update field handling in self-serve modules and add deleted_at to searchable fields in tasks and questions routes 2026-01-08 14:19:20 +01:00
Jeppe Bundgaard 137571d712 Add DepartmentSelfserveTask schema and CRUD operations to Self-Serve OpenAPI section 2026-01-08 13:56:25 +01:00
Jeppe Bundgaard 8514d0e1d7 Implement departmentSelfserveTasksRoute with CRUD operations and department-level access control 2026-01-08 13:54:13 +01:00
Jeppe Bundgaard a127a6f846 Add department_selfserve_tasks_o object for managing department self-serve tasks 2026-01-08 13:52:49 +01:00
Jeppe Bundgaard 829a1b71e4 Remove contactName from required parameters in authRoute. 2026-01-08 13:17:03 +01:00
Jeppe Bundgaard 0d96bf6219 Trim registration input in vehicle creation and add contactName parameter to OpenAPI spec and related routes. 2026-01-08 13:16:32 +01:00
Jeppe Bundgaard 338c244e53 Add Self-Serve section to OpenAPI spec and implement related CRUD routes with department-level access control 2026-01-08 11:15:58 +01:00
Jeppe Bundgaard 1251791ba9 Add department-level access control to department_selfserve_questions routes 2026-01-08 11:11:32 +01:00
Jeppe Bundgaard c6c0bb970a Add department_selfserve_questions_o object and related route for managing department self-serve questions 2026-01-08 11:06:49 +01:00
Jeppe Bundgaard 0eddf69ae4 Replace getCustomerByIdOrCustomerNumber with getUserByCustomerNumber across services and remove deprecated method. 2026-01-06 15:50:59 +01:00
Jeppe Bundgaard 49589de98e Update getUserByCustomerNumber references to getCustomerByIdOrCustomerNumber and enhance null-checking in requireSelected. 2026-01-06 15:40:05 +01:00
Jeppe Bundgaard 19c13977ca Ensure administration fee exemption for users with the relevant attribute and enhance null-checking in requireSelected. 2026-01-06 15:02:46 +01:00
Jeppe Bundgaard 71261c3933 Add administration fee handling to invoice collections, ensuring fees are applied monthly or per order if unpaid. 2026-01-06 14:52:25 +01:00
Jeppe Bundgaard 6bd8986043 Add fee product ID configuration to the Economic module 2026-01-06 13:19:11 +01:00
Jeppe Bundgaard f9e8fb9b96 Add admin fee configurations for monthly and order-based billing in the Economic module 2026-01-06 13:07:06 +01:00
Jeppe Bundgaard 30abc6c593 Set lane ID on order initialization in selfserve_lane_invoice_t. 2026-01-06 12:02:04 +01:00
Jeppe Bundgaard 3bca46c457 Enhance decodeData method to better handle double-escaped JSON by adding additional decoding attempts. 2026-01-06 11:51:48 +01:00
Jeppe Bundgaard d244294dd9 Improve decodeData method to handle HTML-encoded JSON and ensure it returns an array. 2026-01-06 11:48:51 +01:00
Jeppe Bundgaard dd77eda929 Expand openapi.yaml with endpoint and schema definitions for listing module action logs, including pagination, filtering, and associated parameters. 2026-01-06 11:15:59 +01:00
Jeppe Bundgaard 9c3a3e6149 Add route and tests for listing module action logs with pagination and filtering 2026-01-06 11:11:40 +01:00
Jeppe Bundgaard c197276a6e Integrate lane action logging mechanism across controllers, commands, and status management. 2026-01-06 11:08:57 +01:00
Jeppe Bundgaard 0b08d8dbe6 Add selfserve_lane_log_action enum for lane action definitions and outline logging mechanism. 2026-01-06 11:04:50 +01:00
Jeppe Bundgaard 14aaf68d69 Skip transactions with automatic department ID during invoicing processing. 2026-01-06 10:56:39 +01:00
Jeppe Bundgaard b2c6273e72 Add lane status to asArray and implement detailed department lane retrieval 2026-01-06 10:56:29 +01:00
Jeppe Bundgaard dd57c945e6 Imported XLVask v1.yaml from https://api.xlwash.com/scalar/ 2026-01-06 09:17:59 +01:00
Jeppe B d39bf2dbd6 Merge pull request #94 from copenhagentruckwash/copilot/add-openapi-documentation
Add OpenAPI 3.0.3 specification for all API routes and schemas
2026-01-05 13:16:38 +01:00
Jeppe Bundgaard ed53d16d6c Expand openapi.yaml with endpoints for superuser authentication, invoicing distributions, backup module management, and button press recording. 2026-01-05 13:14:37 +01:00
Jeppe Bundgaard f91b855545 Expand openapi.yaml with endpoints for order bookings, department daily reports, and related management operations. 2026-01-05 13:08:58 +01:00
Jeppe Bundgaard c58e385cfd Expand openapi.yaml with endpoints for notifications, Stripe payment processing, e-conomic integration, and Stripe terminal management. 2026-01-05 12:34:33 +01:00
Jeppe Bundgaard 7705fc8a09 Expand openapi.yaml with endpoints for orders, vehicles, departments, and economic statistics. 2026-01-05 12:12:00 +01:00
Jeppe Bundgaard c8b83c63d3 Expand openapi.yaml with endpoints for branding, roles, permissions, department management, and module operations. 2026-01-05 12:04:31 +01:00
Jeppe Bundgaard 5c0092125e Expand openapi.yaml with endpoints for role management, user permissions, customer data, and superuser operations 2026-01-05 12:03:45 +01:00
Jeppe Bundgaard 568ad065d9 Expand openapi.yaml with branding options management 2026-01-05 12:02:26 +01:00
Jeppe Bundgaard 756a8eca1a Expand openapi.yaml with new endpoints for department lanes, worker operations, license plate scanning, invoicing, and configuration management. 2026-01-05 11:50:36 +01:00
copilot-swe-agent[bot]andjepp9350 7f6ab7ec18 Add comprehensive openapi.yaml documentation for all API routes and schemas
Co-authored-by: jepp9350 <17977216+jepp9350@users.noreply.github.com>
2026-01-05 10:34:48 +00:00
copilot-swe-agent[bot] 3b90f874a2 Initial plan 2026-01-05 10:28:59 +00:00
Jeppe B 62fbbdf38e Merge pull request #92 from copenhagentruckwash/updater-v1
updater-v1
2026-01-05 09:22:40 +01:00
Jeppe Bundgaard 54c16b06e7 Send wash certificate email to the customer if a booking is associated 2026-01-02 11:18:10 +01:00
Jeppe Bundgaard bcca9dd319 Add getOrderBooking method to fetch linked booking object for orders 2026-01-02 11:18:06 +01:00
Jeppe Bundgaard e5c728f703 Cast department ID to integer and license plate to string in self-serve lane invoice creation 2025-12-18 11:09:58 +01:00
Jeppe Bundgaard 3115856fc8 Remove redundant return statement in Shelly relay control logic 2025-12-16 11:41:00 +01:00
Jeppe Bundgaard 3eef3b45c4 Add customer number validation and bypass mechanism for self-serve lane operations
- Introduced customer number validation during STOP command to ensure the lane's customer matches the provided customer number.
- Added a flag and methods to bypass customer number validation when authorized.
- Updated routes to set the bypass flag for users with appropriate permissions.
- Included customer number in command arguments for enhanced validation.
2025-12-16 11:40:41 +01:00
Jeppe Bundgaard b6371455ca Enforce command-specific permissions for self-serve lane operations and update related tests 2025-12-15 16:00:00 +01:00
Jeppe Bundgaard 46c7a2f2cd Add http-client.env.json for HTTP client test environment configuration 2025-12-15 10:34:48 +01:00
Jeppe Bundgaard fff5637fe6 Refactor self-serve.http tests to use dynamic variables for API URL, customer number, license plate, and lane ID 2025-12-15 10:34:42 +01:00
Jeppe Bundgaard 4e1404f070 Add invoices-pdf.http test for invoice PDF endpoint validation 2025-12-15 10:33:14 +01:00
Jeppe Bundgaard d0bd305b0b Add orders-potential-duplicates.http test for endpoint validation 2025-12-15 10:32:16 +01:00