Jeppe Bundgaard
c73e459d26
Add edge gateway broker configurations and session management routes
...
- Add broker-related configuration classes (`broker_url`, `public_broker_url`, `auth_mode`, `shared_secret`) to support edge gateway functionality.
- Enhance `SelfserveRoute` with routes for managing self-serve wash sessions, including session listing, detail retrieval, and forced lane stop.
- Update unit tests to validate new configuration handling, session routes, and OpenAPI endpoint coverage.
- Include default environment variables for broker settings in `docker-compose.example.yml`.
2026-04-28 10:04:17 +02:00
Jeppe Bundgaard
feb9aac4f7
Handle relay command job timeouts for edge gateways
...
- Introduce `expireTimedOutRelayStatusCommandJobs` to clean up long-pending relay status command jobs.
- Add `TIMED_OUT` status for relay command jobs and incorporate it into job status evaluations.
- Refactor command job finalization to support timeout-specific error messaging.
- Improve handling of fast-path failures in edge broker commands.
2026-04-27 16:47:09 +02:00
Jeppe Bundgaard
7d450e285e
Remove outdated edge gateway object classes, add new agent implementation
...
Transitioned from obsolete gateway object classes (`edge_gateway_shell_action_jobs_o`, `edge_gateway_shell_events_o`, `edge_gateway_shell_sessions_o`, `edge_gateway_update_jobs_o`) to the new agent implementation (`edge-gateway-agent/agent.php`).
2026-04-21 14:13:17 +02:00
Jeppe Bundgaard
8465ee794d
Add API test suite for Bird Voice Webhook endpoints, including comprehensive lifecycle tests for inbound call handling scenarios. Extend fixtures with department gate creation support and update OpenAPI spec validations.
2026-04-13 17:08:37 +02:00
Jeppe Bundgaard
745e68aa4f
Add wash_date and category fields to complaints, update schema and OpenAPI spec, and extend unit and integration tests for validation and route handling.
2026-04-09 14:16:35 +02:00
Jeppe Bundgaard
22f856c62a
Add unit tests for invoicing, orders normalization, gateway commands, and department complaints. Update schema bootstraps and improve agent command execution logic.
2026-04-09 12:24:22 +02:00
Jeppe Bundgaard
45b7250480
Add Edge Agent implementation for gateway connection lifecycle, agent commands, Shelly device discovery, relay control, and WebSocket communication with broker. Include unit tests for critical flows.
2026-04-08 19:01:42 +02:00
Jeppe Bundgaard
653680376a
Add unit and integration tests for collected invoice queue handling, route hardening, lifecycle validation, and manual batch processing logic.
2026-04-08 15:53:22 +02:00
Jeppe Bundgaard
c5cd42be7f
Add unit and integration tests for economic_transfer_queue and related endpoints, replacing synchronous fallback methods with queue-based processing.
2026-04-08 12:29:57 +02:00
Jeppe Bundgaard
ba23ad6e8f
Add economic_transfer_executor and economic_transfer_queue classes for handling e-conomic invoice transfer logic, queue management, and processing. Include unit tests for Redis cache validation.
2026-04-08 11:20:08 +02:00
Jeppe Bundgaard
551161b692
Add unit tests for Bird webhook lifecycle, economic customer handling, and payment terms routes with improved error scenarios and response validation. Refactor configuration to support economic API fallback tokens.
2026-04-01 17:44:25 +02:00
Jeppe Bundgaard
fcf9924adc
Add bird_flash_calls_client implementation with endpoint builder, request schemas, and validator for managing flash call functionality.
2026-03-26 15:18:55 +01:00
Jeppe Bundgaard
95063d2a70
Add Bird gate call flow unit tests, self-serve machine wash minutes config, relay sync improvements, and OpenAPI updates. Refactor Bird call handling with terminal status detection and timeout normalization.
2026-03-26 13:16:18 +01:00
Jeppe Bundgaard
76729f1b99
Add department self-serve config versioning routes with lifecycle actions (list, validate, publish, rollback) and associated logic for managing config versions.
2026-03-25 17:54:41 +01:00
Jeppe Bundgaard
4c81cfd0fe
Add unit tests for lane relay Shelly batching, rate limit handling, and retry logic. Refactor Shelly relay state handling with snapshot caching, readiness checks, and reduced delay intervals.
2026-03-25 13:40:12 +01:00
Jeppe Bundgaard
5a29683fe8
Add MACHINE_PROGRAM_PICKER and MACHINE_CLEANER relay endpoints with GET/POST actions, unit tests, retry logic, and OpenAPI spec updates.
2026-03-25 12:21:47 +01:00
Jeppe Bundgaard
7fc70184df
Add unit tests and routes for department weather targets, including GET/PUT endpoints, thresholds validation, and aggregate status handling. Extend OpenAPI spec with schema mappings for department weather targets and machine relay endpoints.
2026-03-25 11:14:25 +01:00
Jeppe Bundgaard
6fdc8d466e
Add unit tests for various modules: attachments grouping, department weather caching behaviors, economic module order sanitization, enriched order batching, and user cashier name lookups. Update related route logic for enhanced data fetching and caching integrations.
2026-03-24 14:59:16 +01:00
Jeppe Bundgaard
4a5dd3a83f
Add unit tests for department weather API: cache helpers, fallback behavior, timeline range handling, and schema conformance. Enhance route logic with custom date ranges, cache support, and fallback handling. Update OpenAPI spec and schema mappings.
2026-03-24 13:59:57 +01:00
Jeppe Bundgaard
228efb74fb
Enhance department weather timeline API: support multiple IDs, add timeline date override, improve ID parsing, update schema examples, and expand related tests.
2026-03-24 13:06:40 +01:00
Jeppe Bundgaard
28b571e2e6
Add unit tests for advanced target duration parsing, goal range calculations, and Workfeed query normalization. Extend OpenAPI spec with updated schemas and examples.
2026-03-24 11:35:13 +01:00
Jeppe Bundgaard
8c9388546b
Add advanced target duration configurations and parsing logic to Goals module. Update Workfeed with new CompanyID config. Extend OpenAPI spec with detailed schema mappings and examples.
2026-03-24 11:23:08 +01:00
Jeppe Bundgaard
40171d9719
Update Workfeed OpenAPI spec with detailed schema definitions for employees, shifts, and departments. Add pagination support and replace generic response references with specific ones.
2026-03-24 10:37:43 +01:00
Jeppe Bundgaard
48a74ad34d
Add Workfeed module with routes, configurations, and API integration handling for employees, shifts, and departments. Update OpenAPI spec and include unit tests for endpoint wiring and filtering logic.
2026-03-24 10:33:17 +01:00
Jeppe Bundgaard
7c55beae42
Refactor self-serve wash flow to decouple visible question logic, improve condition evaluation, and handle nullable fields in the OpenAPI spec.
2026-03-18 13:05:41 +01:00
Jeppe Bundgaard
b3772293f3
Add auto-generated documentation for new API endpoints: branding option, button press webhook, and customer attribute.
2026-03-17 16:51:10 +01:00
Jeppe Bundgaard
6aa04eb951
Add logic for booked department 75 redistribution with fixed pricing and subscription weights. Update OpenAPI spec, unit tests, and service integration.
2026-03-16 13:40:03 +01:00
Jeppe Bundgaard
d890d589ff
Add reusable routes for department self-serve machine types, n8n workflows, and executions, with corresponding unit tests and service integration.
2026-03-16 11:36:48 +01:00
Jeppe Bundgaard
1e1576fe87
Add system_search_economic_customer_index class with table creation, refresh logic, and integration into system search fields, synonyms, and entity matching. Update service logic, unit tests, and cron tasks accordingly.
2026-03-13 01:52:33 +01:00
Jeppe Bundgaard
5be31bee1c
Extend system search to include local e-conomic customer index fields, synonym expansion (e.g., rabat -> discount), and enhanced entity matching. Update OpenAPI spec, unit tests, and cron sync tasks accordingly.
2026-03-13 00:59:40 +01:00
Jeppe Bundgaard
efc5906974
Expand system search to include users entity type with comprehensive OpenAPI spec updates, route adjustments, and unit test coverage.
2026-03-12 23:09:50 +01:00
Jeppe Bundgaard
a22a3f4ee9
Add comprehensive unit tests for invoicing period cache logic, system search behavior, and OpenAPI spec coverage. Expand search service with generic entity support and refine association type handling.
2026-03-12 21:21:14 +01:00
Jeppe Bundgaard
6e887b315f
Introduce a centralized search service with OpenAI-powered intent parsing and caching
2026-03-12 20:14:06 +01:00
Jeppe Bundgaard
69c7c834d9
Update OpenAPI spec to add InvoicingWashSubscriptionsDistributionResponse schema and reference it in the related endpoint
2026-03-12 18:51:10 +01:00
Jeppe Bundgaard
4ef20a1c90
Add economic V2 modules for history backfill, comparison, and distribution services.
2026-03-12 17:57:27 +01:00
Jeppe Bundgaard
72454ff328
Update OpenAPI spec to include application/json response schemas and add optional request bodies where applicable
2026-03-12 16:51:18 +01:00
Jeppe Bundgaard
be358309d6
Add schema definitions for InvoicingFixedPricingDistributionResponse and related components in OpenAPI spec
2026-03-12 11:26:25 +01:00
Jeppe Bundgaard
bd36540f2b
Add schema definitions and responses for Weather API endpoints in OpenAPI spec
2026-03-12 09:19:17 +01:00
Jeppe B
87c442040f
Merge branch 'master' into add-weatherapi-module-implementation-6ti277
2026-03-12 08:49:24 +01:00
Jeppe B
3607aef2ca
Align WeatherAPI OpenAPI schemas with actual response envelopes
2026-03-11 14:37:37 +01:00
Jeppe Bundgaard
36c9472a40
Integrate historical data into weather forecast, sort timeline entries, and update local development server URL in OpenAPI configuration.
2026-03-11 14:31:39 +01:00
Jeppe B
527e6a9ec4
Document WeatherAPI and department weather endpoints in OpenAPI
2026-03-11 13:56:29 +01:00
Jeppe Bundgaard
96629cba0d
Add sayMessage method to Bird API client, extend birdVoiceWebhooksRoute with TTS capability for inbound calls, introduce /bird/voice/calls/{id}/say route, and update OpenAPI spec accordingly.
2026-03-04 12:47:44 +01:00
Jeppe Bundgaard
3d2e8396cc
Replace inline schemas with reusable BirdVoiceCallListResponse, BirdVoiceCallSingleResponse, and BirdTestOutboundCallResponse components in OpenAPI spec, define new BirdVoiceCall schema, and require permissions for Bird voice call listing
2026-03-04 10:50:10 +01:00
Jeppe Bundgaard
cbac9181f6
Refactor Bird API routes to support fallback workspace and channel configuration, centralize helper methods, and update OpenAPI spec to reflect optional parameters.
2026-03-04 10:42:33 +01:00
Jeppe Bundgaard
98203282ba
Replace inline schemas with reusable BirdNumberListResponse and BirdNumberSingleResponse components in OpenAPI spec, and define new BirdNumber and BirdNumberCapability schemas.
2026-03-04 10:31:32 +01:00
Jeppe Bundgaard
70b7f5de87
Add workspace support to Bird numbers API and update routes, methods, and tests accordingly
2026-03-04 10:28:36 +01:00
Jeppe Bundgaard
7a43fbf383
Add department_relay_config and department_gate_config classes and refactor gate/relay handling logic to use strongly-typed configuration models
2026-03-03 12:24:01 +01:00
Jeppe B
acc913c9b5
Implement department gates and relays objects and routes
2026-03-03 12:01:02 +01:00
Jeppe Bundgaard
80701117f4
Add include_lanes query parameter to guest departments endpoint and define DepartmentGuest and DepartmentLaneGuest schemas in OpenAPI documentation
2026-03-02 13:18:02 +01:00