deleted bookings management
Some checks failed
Build and Push Docker Image / build_and_push (push) Has been cancelled

This commit is contained in:
Arnaud Delcasse
2025-10-08 09:27:56 +02:00
parent 708b16343a
commit 5bc6ac0e7b
14 changed files with 573 additions and 940 deletions

View File

@@ -5,6 +5,7 @@ syntax = "proto3";
option go_package = "git.coopgo.io/coopgo-platform/fleets/grpcapi";
import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
import "vehicles.proto";
@@ -50,6 +51,7 @@ message GetVehiclesRequest {
repeated string administrators = 7;
google.protobuf.Timestamp availability_from = 8;
google.protobuf.Timestamp availability_to = 9;
bool include_deleted = 10;
}
message GetVehiclesResponse {
@@ -90,6 +92,7 @@ message UpdateBookingResponse {
message DeleteBookingRequest {
string id = 15;
google.protobuf.Struct deletion_metadata = 30;
}
message DeleteBookingResponse {
@@ -126,6 +129,7 @@ message GetDriverBookingsResponse {
message GetBookingsRequest {
repeated string namespaces = 27;
bool include_deleted = 29;
}
message GetBookingsResponse {