Return handling
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
This commit is contained in:
@@ -21,6 +21,7 @@ service SolidarityTransport {
|
||||
rpc GetSolidarityTransportBookings(GetSolidarityTransportBookingsRequest) returns (GetSolidarityTransportBookingsResponse) {}
|
||||
rpc GetSolidarityTransportBooking(GetSolidarityTransportBookingRequest) returns (GetSolidarityTransportBookingResponse) {}
|
||||
rpc UpdateSolidarityTransportBookingStatus(UpdateSolidarityTransportBookingStatusRequest) returns (UpdateSolidarityTransportBookingStatusResponse) {}
|
||||
rpc ToggleSolidarityTransportNoreturn(ToggleSolidarityTransportNoreturnRequest) returns (ToggleSolidarityTransportNoreturnResponse) {}
|
||||
}
|
||||
|
||||
message AddDriverRegularAvailabilityRequest{
|
||||
@@ -61,6 +62,7 @@ message GetDriverJourneysRequest {
|
||||
GeoJsonFeature arrival = 3;
|
||||
google.protobuf.Timestamp departure_date = 5;
|
||||
optional int64 time_delta = 6;
|
||||
bool noreturn = 7;
|
||||
}
|
||||
|
||||
message GetDriverJourneysResponse {
|
||||
@@ -80,6 +82,7 @@ message BookDriverJourneyRequest {
|
||||
string passenger_id = 1;
|
||||
string driver_id = 2;
|
||||
string driver_journey_id = 3;
|
||||
int64 return_waiting_duration = 4;
|
||||
}
|
||||
|
||||
message BookDriverJourneyResponse {
|
||||
@@ -110,3 +113,9 @@ message UpdateSolidarityTransportBookingStatusRequest {
|
||||
}
|
||||
|
||||
message UpdateSolidarityTransportBookingStatusResponse {}
|
||||
|
||||
message ToggleSolidarityTransportNoreturnRequest {
|
||||
string journey_id = 1;
|
||||
}
|
||||
|
||||
message ToggleSolidarityTransportNoreturnResponse {}
|
||||
|
||||
Reference in New Issue
Block a user