deleted bookings management
Some checks failed
Build and Push Docker Image / build_and_push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build_and_push (push) Has been cancelled
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user