- Regenerate proto stubs from correct cqrs_services.proto file
- Update GrpcCqrsApiClient to use DynamicQueryService and CommandService
- Fix type conversions for deliveries, routes, and commands
- Convert proto Timestamp to ISO8601 strings for model compatibility
- Convert string amounts to doubles for delivery orders
- Use Int64 for delivery IDs in gRPC commands
Work in progress: Timestamp conversion extension needs finalization.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add proto-generated Dart files for the gRPC delivery service:
- delivery_service.pb.dart: Proto message types for routes, deliveries,
addresses, orders, contacts, and command request/response messages
- delivery_service.pbgrpc.dart: gRPC client and service base classes
with methods for queries (GetDeliveryRoutes, GetDeliveries) and
commands (CompleteDelivery, MarkDeliveryUncompleted, SkipDelivery,
UploadDeliveryPicture)
Co-Authored-By: Claude <noreply@anthropic.com>
Adds GrpcDiscoveryClient for enumerating gRPC services via server reflection.
Includes:
- GrpcDiscoveryClient class with listServices(), discoverAllServices() methods
- Support for getting file descriptors for symbols and filenames
- DiscoveredService and DiscoveredMethod data classes
- Custom exceptions (ReflectionException, ConnectionException)
- Generated proto files for gRPC reflection (fixed for protobuf 6.0.0)
Co-Authored-By: Claude <noreply@anthropic.com>