This commit is contained in:
Maxime 2024-07-26 11:21:05 +02:00
parent 065d1cecfd
commit 089d8e9c28
2 changed files with 4 additions and 5 deletions

View File

@ -2,8 +2,6 @@ syntax = "proto3";
option go_package = "git.coopgo.io/coopgo-platform/solidarity-service/servers/grpc/proto"; option go_package = "git.coopgo.io/coopgo-platform/solidarity-service/servers/grpc/proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
message Feature { message Feature {
double lat = 1; double lat = 1;
double long = 2; double long = 2;
@ -42,6 +40,7 @@ message PunctualAvailabilitySlot {
string startTime = 2; string startTime = 2;
string endTime = 3; string endTime = 3;
} }
message RegularAvailabilitySlot { message RegularAvailabilitySlot {
DayOfWeek dayOfWeek = 1; DayOfWeek dayOfWeek = 1;
string startTime = 2; string startTime = 2;

View File

@ -47,7 +47,7 @@ message CreateBookingRequest {
BookingRequest booking = 1; BookingRequest booking = 1;
} }
message CreateBookingResponse { message CreateBookingResponse {
Booking booking = 1; BookingSilvermobi booking = 1;
} }
message UpdateBookingRequest { message UpdateBookingRequest {
@ -67,7 +67,7 @@ message GetBookingRequest {
message GetBookingResponse { message GetBookingResponse {
Booking booking = 1; BookingSilvermobi booking = 1;
} }
message GetBookingsByStatusRequest{ message GetBookingsByStatusRequest{
@ -86,5 +86,5 @@ message DriverJourneysResponse {
} }
message GetBookingsByStatusResponse{ message GetBookingsByStatusResponse{
repeated Booking booking = 1; repeated BookingSilvermobi booking = 1;
} }