fix Booking conflict name

This commit is contained in:
Maxime 2024-08-02 15:35:03 +02:00
parent e699ea7192
commit 2623c85d05
6 changed files with 280 additions and 280 deletions

View File

@ -131,21 +131,21 @@ func (PriceType) EnumDescriptor() ([]byte, []int) {
return file_solidarity_api_types_proto_rawDescGZIP(), []int{1}
}
type BookingSolidarityStatus int32
type BookingSilvermobiStatus int32
const (
BookingSolidarityStatus_INITIATED BookingSolidarityStatus = 0
BookingSolidarityStatus_WAITING_DRIVER_CONFIRMATION BookingSolidarityStatus = 1
BookingSolidarityStatus_WAITING_PASSENGER_CONFIRMATION BookingSolidarityStatus = 2
BookingSolidarityStatus_CONFIRMED BookingSolidarityStatus = 3
BookingSolidarityStatus_CANCELLED BookingSolidarityStatus = 4
BookingSolidarityStatus_COMPLETED_PENDING_VALIDATION BookingSolidarityStatus = 5
BookingSolidarityStatus_VALIDATED BookingSolidarityStatus = 6
BookingSilvermobiStatus_INITIATED BookingSilvermobiStatus = 0
BookingSilvermobiStatus_WAITING_DRIVER_CONFIRMATION BookingSilvermobiStatus = 1
BookingSilvermobiStatus_WAITING_PASSENGER_CONFIRMATION BookingSilvermobiStatus = 2
BookingSilvermobiStatus_CONFIRMED BookingSilvermobiStatus = 3
BookingSilvermobiStatus_CANCELLED BookingSilvermobiStatus = 4
BookingSilvermobiStatus_COMPLETED_PENDING_VALIDATION BookingSilvermobiStatus = 5
BookingSilvermobiStatus_VALIDATED BookingSilvermobiStatus = 6
)
// Enum value maps for BookingSolidarityStatus.
// Enum value maps for BookingSilvermobiStatus.
var (
BookingSolidarityStatus_name = map[int32]string{
BookingSilvermobiStatus_name = map[int32]string{
0: "INITIATED",
1: "WAITING_DRIVER_CONFIRMATION",
2: "WAITING_PASSENGER_CONFIRMATION",
@ -154,7 +154,7 @@ var (
5: "COMPLETED_PENDING_VALIDATION",
6: "VALIDATED",
}
BookingSolidarityStatus_value = map[string]int32{
BookingSilvermobiStatus_value = map[string]int32{
"INITIATED": 0,
"WAITING_DRIVER_CONFIRMATION": 1,
"WAITING_PASSENGER_CONFIRMATION": 2,
@ -165,30 +165,30 @@ var (
}
)
func (x BookingSolidarityStatus) Enum() *BookingSolidarityStatus {
p := new(BookingSolidarityStatus)
func (x BookingSilvermobiStatus) Enum() *BookingSilvermobiStatus {
p := new(BookingSilvermobiStatus)
*p = x
return p
}
func (x BookingSolidarityStatus) String() string {
func (x BookingSilvermobiStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BookingSolidarityStatus) Descriptor() protoreflect.EnumDescriptor {
func (BookingSilvermobiStatus) Descriptor() protoreflect.EnumDescriptor {
return file_solidarity_api_types_proto_enumTypes[2].Descriptor()
}
func (BookingSolidarityStatus) Type() protoreflect.EnumType {
func (BookingSilvermobiStatus) Type() protoreflect.EnumType {
return &file_solidarity_api_types_proto_enumTypes[2]
}
func (x BookingSolidarityStatus) Number() protoreflect.EnumNumber {
func (x BookingSilvermobiStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use BookingSolidarityStatus.Descriptor instead.
func (BookingSolidarityStatus) EnumDescriptor() ([]byte, []int) {
// Deprecated: Use BookingSilvermobiStatus.Descriptor instead.
func (BookingSilvermobiStatus) EnumDescriptor() ([]byte, []int) {
return file_solidarity_api_types_proto_rawDescGZIP(), []int{2}
}
@ -720,7 +720,7 @@ func (x *RegularAvailabilitySlot) GetEndTime() string {
return ""
}
type BookingSolidarityRequest struct {
type BookingSilvermobiRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@ -728,14 +728,14 @@ type BookingSolidarityRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PassengerId string `protobuf:"bytes,2,opt,name=passengerId,proto3" json:"passengerId,omitempty"`
DriverId string `protobuf:"bytes,3,opt,name=driverId,proto3" json:"driverId,omitempty"`
Status BookingSolidarityStatus `protobuf:"varint,4,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
Status BookingSilvermobiStatus `protobuf:"varint,4,opt,name=status,proto3,enum=BookingSilvermobiStatus" json:"status,omitempty"`
DepartureAddress *Feature `protobuf:"bytes,5,opt,name=departure_address,json=departureAddress,proto3" json:"departure_address,omitempty"`
DestinationAddress *Feature `protobuf:"bytes,6,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"`
PickupDate *timestamp.Timestamp `protobuf:"bytes,7,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
}
func (x *BookingSolidarityRequest) Reset() {
*x = BookingSolidarityRequest{}
func (x *BookingSilvermobiRequest) Reset() {
*x = BookingSilvermobiRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_types_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -743,13 +743,13 @@ func (x *BookingSolidarityRequest) Reset() {
}
}
func (x *BookingSolidarityRequest) String() string {
func (x *BookingSilvermobiRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BookingSolidarityRequest) ProtoMessage() {}
func (*BookingSilvermobiRequest) ProtoMessage() {}
func (x *BookingSolidarityRequest) ProtoReflect() protoreflect.Message {
func (x *BookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_types_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -761,61 +761,61 @@ func (x *BookingSolidarityRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use BookingSolidarityRequest.ProtoReflect.Descriptor instead.
func (*BookingSolidarityRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use BookingSilvermobiRequest.ProtoReflect.Descriptor instead.
func (*BookingSilvermobiRequest) Descriptor() ([]byte, []int) {
return file_solidarity_api_types_proto_rawDescGZIP(), []int{7}
}
func (x *BookingSolidarityRequest) GetId() string {
func (x *BookingSilvermobiRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *BookingSolidarityRequest) GetPassengerId() string {
func (x *BookingSilvermobiRequest) GetPassengerId() string {
if x != nil {
return x.PassengerId
}
return ""
}
func (x *BookingSolidarityRequest) GetDriverId() string {
func (x *BookingSilvermobiRequest) GetDriverId() string {
if x != nil {
return x.DriverId
}
return ""
}
func (x *BookingSolidarityRequest) GetStatus() BookingSolidarityStatus {
func (x *BookingSilvermobiRequest) GetStatus() BookingSilvermobiStatus {
if x != nil {
return x.Status
}
return BookingSolidarityStatus_INITIATED
return BookingSilvermobiStatus_INITIATED
}
func (x *BookingSolidarityRequest) GetDepartureAddress() *Feature {
func (x *BookingSilvermobiRequest) GetDepartureAddress() *Feature {
if x != nil {
return x.DepartureAddress
}
return nil
}
func (x *BookingSolidarityRequest) GetDestinationAddress() *Feature {
func (x *BookingSilvermobiRequest) GetDestinationAddress() *Feature {
if x != nil {
return x.DestinationAddress
}
return nil
}
func (x *BookingSolidarityRequest) GetPickupDate() *timestamp.Timestamp {
func (x *BookingSilvermobiRequest) GetPickupDate() *timestamp.Timestamp {
if x != nil {
return x.PickupDate
}
return nil
}
type BookingSolidarity struct {
type BookingSilvermobi struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@ -826,7 +826,7 @@ type BookingSolidarity struct {
PassengerPickupDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=passengerPickupDate,proto3" json:"passengerPickupDate,omitempty"`
PassengerDepartureRoute *Feature `protobuf:"bytes,5,opt,name=passenger_departure_route,json=passengerDepartureRoute,proto3" json:"passenger_departure_route,omitempty"`
PassengerDestinationRoute *Feature `protobuf:"bytes,6,opt,name=passenger_destination_route,json=passengerDestinationRoute,proto3" json:"passenger_destination_route,omitempty"`
Status BookingSolidarityStatus `protobuf:"varint,7,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
Status BookingSilvermobiStatus `protobuf:"varint,7,opt,name=status,proto3,enum=BookingSilvermobiStatus" json:"status,omitempty"`
Duration int64 `protobuf:"varint,8,opt,name=duration,proto3" json:"duration,omitempty"`
Distance int64 `protobuf:"varint,9,opt,name=distance,proto3" json:"distance,omitempty"`
Price *Price `protobuf:"bytes,10,opt,name=price,proto3" json:"price,omitempty"`
@ -834,8 +834,8 @@ type BookingSolidarity struct {
PickupDate *timestamp.Timestamp `protobuf:"bytes,12,opt,name=pickup_date,json=pickupDate,proto3" json:"pickup_date,omitempty"`
}
func (x *BookingSolidarity) Reset() {
*x = BookingSolidarity{}
func (x *BookingSilvermobi) Reset() {
*x = BookingSilvermobi{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_types_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -843,13 +843,13 @@ func (x *BookingSolidarity) Reset() {
}
}
func (x *BookingSolidarity) String() string {
func (x *BookingSilvermobi) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BookingSolidarity) ProtoMessage() {}
func (*BookingSilvermobi) ProtoMessage() {}
func (x *BookingSolidarity) ProtoReflect() protoreflect.Message {
func (x *BookingSilvermobi) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_types_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -861,89 +861,89 @@ func (x *BookingSolidarity) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use BookingSolidarity.ProtoReflect.Descriptor instead.
func (*BookingSolidarity) Descriptor() ([]byte, []int) {
// Deprecated: Use BookingSilvermobi.ProtoReflect.Descriptor instead.
func (*BookingSilvermobi) Descriptor() ([]byte, []int) {
return file_solidarity_api_types_proto_rawDescGZIP(), []int{8}
}
func (x *BookingSolidarity) GetId() string {
func (x *BookingSilvermobi) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *BookingSolidarity) GetDriver() *User {
func (x *BookingSilvermobi) GetDriver() *User {
if x != nil {
return x.Driver
}
return nil
}
func (x *BookingSolidarity) GetPassenger() *User {
func (x *BookingSilvermobi) GetPassenger() *User {
if x != nil {
return x.Passenger
}
return nil
}
func (x *BookingSolidarity) GetPassengerPickupDate() *timestamp.Timestamp {
func (x *BookingSilvermobi) GetPassengerPickupDate() *timestamp.Timestamp {
if x != nil {
return x.PassengerPickupDate
}
return nil
}
func (x *BookingSolidarity) GetPassengerDepartureRoute() *Feature {
func (x *BookingSilvermobi) GetPassengerDepartureRoute() *Feature {
if x != nil {
return x.PassengerDepartureRoute
}
return nil
}
func (x *BookingSolidarity) GetPassengerDestinationRoute() *Feature {
func (x *BookingSilvermobi) GetPassengerDestinationRoute() *Feature {
if x != nil {
return x.PassengerDestinationRoute
}
return nil
}
func (x *BookingSolidarity) GetStatus() BookingSolidarityStatus {
func (x *BookingSilvermobi) GetStatus() BookingSilvermobiStatus {
if x != nil {
return x.Status
}
return BookingSolidarityStatus_INITIATED
return BookingSilvermobiStatus_INITIATED
}
func (x *BookingSolidarity) GetDuration() int64 {
func (x *BookingSilvermobi) GetDuration() int64 {
if x != nil {
return x.Duration
}
return 0
}
func (x *BookingSolidarity) GetDistance() int64 {
func (x *BookingSilvermobi) GetDistance() int64 {
if x != nil {
return x.Distance
}
return 0
}
func (x *BookingSolidarity) GetPrice() *Price {
func (x *BookingSilvermobi) GetPrice() *Price {
if x != nil {
return x.Price
}
return nil
}
func (x *BookingSolidarity) GetCar() *Car {
func (x *BookingSilvermobi) GetCar() *Car {
if x != nil {
return x.Car
}
return nil
}
func (x *BookingSolidarity) GetPickupDate() *timestamp.Timestamp {
func (x *BookingSilvermobi) GetPickupDate() *timestamp.Timestamp {
if x != nil {
return x.PickupDate
}
@ -1335,15 +1335,15 @@ var file_solidarity_api_types_proto_rawDesc = []byte{
0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72,
0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22,
0xc9, 0x02, 0x0a, 0x18, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
0xc9, 0x02, 0x0a, 0x18, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65,
0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b,
0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
0x0a, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f,
0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74,
0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x11,
0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
@ -1356,8 +1356,8 @@ var file_solidarity_api_types_proto_rawDesc = []byte{
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
0x0a, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x61, 0x74, 0x65, 0x22, 0xa2, 0x04, 0x0a, 0x11,
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74,
0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62,
0x69, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x64, 0x12, 0x1d, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
0x12, 0x23, 0x0a, 0x09, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e, 0x67, 0x65, 0x72, 0x18, 0x03, 0x20,
@ -1377,8 +1377,8 @@ var file_solidarity_api_types_proto_rawDesc = []byte{
0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x19, 0x70, 0x61, 0x73, 0x73, 0x65, 0x6e,
0x67, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f,
0x75, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c,
0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c,
0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20,
@ -1431,7 +1431,7 @@ var file_solidarity_api_types_proto_rawDesc = []byte{
0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x52, 0x45, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a,
0x06, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x2a, 0xbc, 0x01, 0x0a, 0x17, 0x42, 0x6f, 0x6f, 0x6b, 0x69,
0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74,
0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10,
0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x52, 0x49,
0x56, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e,
@ -1469,7 +1469,7 @@ var file_solidarity_api_types_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_solidarity_api_types_proto_goTypes = []interface{}{
(DayOfWeek)(0), // 0: DayOfWeek
(PriceType)(0), // 1: PriceType
(BookingSolidarityStatus)(0), // 2: BookingSolidarityStatus
(BookingSilvermobiStatus)(0), // 2: BookingSilvermobiStatus
(UserType)(0), // 3: UserType
(*Feature)(nil), // 4: Feature
(*DriverJourney)(nil), // 5: DriverJourney
@ -1478,8 +1478,8 @@ var file_solidarity_api_types_proto_goTypes = []interface{}{
(*DriverRequest)(nil), // 8: DriverRequest
(*PunctualAvailabilitySlot)(nil), // 9: PunctualAvailabilitySlot
(*RegularAvailabilitySlot)(nil), // 10: RegularAvailabilitySlot
(*BookingSolidarityRequest)(nil), // 11: BookingSolidarityRequest
(*BookingSolidarity)(nil), // 12: BookingSolidarity
(*BookingSilvermobiRequest)(nil), // 11: BookingSilvermobiRequest
(*BookingSilvermobi)(nil), // 12: BookingSilvermobi
(*Car)(nil), // 13: Car
(*Preferences)(nil), // 14: Preferences
(*Price)(nil), // 15: Price
@ -1501,19 +1501,19 @@ var file_solidarity_api_types_proto_depIdxs = []int32{
13, // 11: DriverRequest.car:type_name -> Car
17, // 12: PunctualAvailabilitySlot.date:type_name -> google.protobuf.Timestamp
0, // 13: RegularAvailabilitySlot.dayOfWeek:type_name -> DayOfWeek
2, // 14: BookingSolidarityRequest.status:type_name -> BookingSolidarityStatus
4, // 15: BookingSolidarityRequest.departure_address:type_name -> Feature
4, // 16: BookingSolidarityRequest.destination_address:type_name -> Feature
17, // 17: BookingSolidarityRequest.pickup_date:type_name -> google.protobuf.Timestamp
16, // 18: BookingSolidarity.driver:type_name -> User
16, // 19: BookingSolidarity.passenger:type_name -> User
17, // 20: BookingSolidarity.passengerPickupDate:type_name -> google.protobuf.Timestamp
4, // 21: BookingSolidarity.passenger_departure_route:type_name -> Feature
4, // 22: BookingSolidarity.passenger_destination_route:type_name -> Feature
2, // 23: BookingSolidarity.status:type_name -> BookingSolidarityStatus
15, // 24: BookingSolidarity.price:type_name -> Price
13, // 25: BookingSolidarity.car:type_name -> Car
17, // 26: BookingSolidarity.pickup_date:type_name -> google.protobuf.Timestamp
2, // 14: BookingSilvermobiRequest.status:type_name -> BookingSilvermobiStatus
4, // 15: BookingSilvermobiRequest.departure_address:type_name -> Feature
4, // 16: BookingSilvermobiRequest.destination_address:type_name -> Feature
17, // 17: BookingSilvermobiRequest.pickup_date:type_name -> google.protobuf.Timestamp
16, // 18: BookingSilvermobi.driver:type_name -> User
16, // 19: BookingSilvermobi.passenger:type_name -> User
17, // 20: BookingSilvermobi.passengerPickupDate:type_name -> google.protobuf.Timestamp
4, // 21: BookingSilvermobi.passenger_departure_route:type_name -> Feature
4, // 22: BookingSilvermobi.passenger_destination_route:type_name -> Feature
2, // 23: BookingSilvermobi.status:type_name -> BookingSilvermobiStatus
15, // 24: BookingSilvermobi.price:type_name -> Price
13, // 25: BookingSilvermobi.car:type_name -> Car
17, // 26: BookingSilvermobi.pickup_date:type_name -> google.protobuf.Timestamp
1, // 27: Price.type:type_name -> PriceType
28, // [28:28] is the sub-list for method output_type
28, // [28:28] is the sub-list for method input_type
@ -1613,7 +1613,7 @@ func file_solidarity_api_types_proto_init() {
}
}
file_solidarity_api_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BookingSolidarityRequest); i {
switch v := v.(*BookingSilvermobiRequest); i {
case 0:
return &v.state
case 1:
@ -1625,7 +1625,7 @@ func file_solidarity_api_types_proto_init() {
}
}
file_solidarity_api_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BookingSolidarity); i {
switch v := v.(*BookingSilvermobi); i {
case 0:
return &v.state
case 1:

View File

@ -58,24 +58,24 @@ enum DayOfWeek {
SUN = 7;
}
message BookingSolidarityRequest {
message BookingSilvermobiRequest {
string id = 1;
string passengerId = 2;
string driverId = 3;
BookingSolidarityStatus status = 4;
BookingSilvermobiStatus status = 4;
Feature departure_address =5;
Feature destination_address = 6;
google.protobuf.Timestamp pickup_date = 7;
}
message BookingSolidarity {
message BookingSilvermobi {
string id = 1;
User driver = 2;
User passenger = 3;
google.protobuf.Timestamp passengerPickupDate =4;
Feature passenger_departure_route = 5;
Feature passenger_destination_route = 6;
BookingSolidarityStatus status = 7;
BookingSilvermobiStatus status = 7;
int64 duration = 8;
int64 distance = 9;
Price price = 10;
@ -121,7 +121,7 @@ message User {
bool verified_identity = 8;
}
enum BookingSolidarityStatus {
enum BookingSilvermobiStatus {
INITIATED = 0;
WAITING_DRIVER_CONFIRMATION = 1;
WAITING_PASSENGER_CONFIRMATION = 2;

View File

@ -296,16 +296,16 @@ func (x *DriverAvailabilitiesResponse) GetMessage() string {
return ""
}
type CreateBookingSolidarityRequest struct {
type CreateBookingSilvermobiRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Booking *BookingSolidarityRequest `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
Booking *BookingSilvermobiRequest `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
}
func (x *CreateBookingSolidarityRequest) Reset() {
*x = CreateBookingSolidarityRequest{}
func (x *CreateBookingSilvermobiRequest) Reset() {
*x = CreateBookingSilvermobiRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -313,13 +313,13 @@ func (x *CreateBookingSolidarityRequest) Reset() {
}
}
func (x *CreateBookingSolidarityRequest) String() string {
func (x *CreateBookingSilvermobiRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBookingSolidarityRequest) ProtoMessage() {}
func (*CreateBookingSilvermobiRequest) ProtoMessage() {}
func (x *CreateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
func (x *CreateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -331,28 +331,28 @@ func (x *CreateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use CreateBookingSolidarityRequest.ProtoReflect.Descriptor instead.
func (*CreateBookingSolidarityRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use CreateBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
func (*CreateBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{5}
}
func (x *CreateBookingSolidarityRequest) GetBooking() *BookingSolidarityRequest {
func (x *CreateBookingSilvermobiRequest) GetBooking() *BookingSilvermobiRequest {
if x != nil {
return x.Booking
}
return nil
}
type CreateBookingSolidarityResponse struct {
type CreateBookingSilvermobiResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Booking *BookingSolidarity `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
Booking *BookingSilvermobi `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
}
func (x *CreateBookingSolidarityResponse) Reset() {
*x = CreateBookingSolidarityResponse{}
func (x *CreateBookingSilvermobiResponse) Reset() {
*x = CreateBookingSilvermobiResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -360,13 +360,13 @@ func (x *CreateBookingSolidarityResponse) Reset() {
}
}
func (x *CreateBookingSolidarityResponse) String() string {
func (x *CreateBookingSilvermobiResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBookingSolidarityResponse) ProtoMessage() {}
func (*CreateBookingSilvermobiResponse) ProtoMessage() {}
func (x *CreateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
func (x *CreateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -378,30 +378,30 @@ func (x *CreateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use CreateBookingSolidarityResponse.ProtoReflect.Descriptor instead.
func (*CreateBookingSolidarityResponse) Descriptor() ([]byte, []int) {
// Deprecated: Use CreateBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
func (*CreateBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{6}
}
func (x *CreateBookingSolidarityResponse) GetBooking() *BookingSolidarity {
func (x *CreateBookingSilvermobiResponse) GetBooking() *BookingSilvermobi {
if x != nil {
return x.Booking
}
return nil
}
type UpdateBookingSolidarityRequest struct {
type UpdateBookingSilvermobiRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
Status BookingSolidarityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
Status BookingSilvermobiStatus `protobuf:"varint,2,opt,name=status,proto3,enum=BookingSilvermobiStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *UpdateBookingSolidarityRequest) Reset() {
*x = UpdateBookingSolidarityRequest{}
func (x *UpdateBookingSilvermobiRequest) Reset() {
*x = UpdateBookingSilvermobiRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -409,13 +409,13 @@ func (x *UpdateBookingSolidarityRequest) Reset() {
}
}
func (x *UpdateBookingSolidarityRequest) String() string {
func (x *UpdateBookingSilvermobiRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBookingSolidarityRequest) ProtoMessage() {}
func (*UpdateBookingSilvermobiRequest) ProtoMessage() {}
func (x *UpdateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
func (x *UpdateBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -427,33 +427,33 @@ func (x *UpdateBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use UpdateBookingSolidarityRequest.ProtoReflect.Descriptor instead.
func (*UpdateBookingSolidarityRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use UpdateBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
func (*UpdateBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{7}
}
func (x *UpdateBookingSolidarityRequest) GetBookingId() string {
func (x *UpdateBookingSilvermobiRequest) GetBookingId() string {
if x != nil {
return x.BookingId
}
return ""
}
func (x *UpdateBookingSolidarityRequest) GetStatus() BookingSolidarityStatus {
func (x *UpdateBookingSilvermobiRequest) GetStatus() BookingSilvermobiStatus {
if x != nil {
return x.Status
}
return BookingSolidarityStatus_INITIATED
return BookingSilvermobiStatus_INITIATED
}
func (x *UpdateBookingSolidarityRequest) GetMessage() string {
func (x *UpdateBookingSilvermobiRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type UpdateBookingSolidarityResponse struct {
type UpdateBookingSilvermobiResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@ -462,8 +462,8 @@ type UpdateBookingSolidarityResponse struct {
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *UpdateBookingSolidarityResponse) Reset() {
*x = UpdateBookingSolidarityResponse{}
func (x *UpdateBookingSilvermobiResponse) Reset() {
*x = UpdateBookingSilvermobiResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -471,13 +471,13 @@ func (x *UpdateBookingSolidarityResponse) Reset() {
}
}
func (x *UpdateBookingSolidarityResponse) String() string {
func (x *UpdateBookingSilvermobiResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBookingSolidarityResponse) ProtoMessage() {}
func (*UpdateBookingSilvermobiResponse) ProtoMessage() {}
func (x *UpdateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
func (x *UpdateBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -489,26 +489,26 @@ func (x *UpdateBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use UpdateBookingSolidarityResponse.ProtoReflect.Descriptor instead.
func (*UpdateBookingSolidarityResponse) Descriptor() ([]byte, []int) {
// Deprecated: Use UpdateBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
func (*UpdateBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateBookingSolidarityResponse) GetSuccess() bool {
func (x *UpdateBookingSilvermobiResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *UpdateBookingSolidarityResponse) GetMessage() string {
func (x *UpdateBookingSilvermobiResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type GetBookingSolidarityRequest struct {
type GetBookingSilvermobiRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@ -516,8 +516,8 @@ type GetBookingSolidarityRequest struct {
BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
}
func (x *GetBookingSolidarityRequest) Reset() {
*x = GetBookingSolidarityRequest{}
func (x *GetBookingSilvermobiRequest) Reset() {
*x = GetBookingSilvermobiRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -525,13 +525,13 @@ func (x *GetBookingSolidarityRequest) Reset() {
}
}
func (x *GetBookingSolidarityRequest) String() string {
func (x *GetBookingSilvermobiRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBookingSolidarityRequest) ProtoMessage() {}
func (*GetBookingSilvermobiRequest) ProtoMessage() {}
func (x *GetBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
func (x *GetBookingSilvermobiRequest) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -543,28 +543,28 @@ func (x *GetBookingSolidarityRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use GetBookingSolidarityRequest.ProtoReflect.Descriptor instead.
func (*GetBookingSolidarityRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use GetBookingSilvermobiRequest.ProtoReflect.Descriptor instead.
func (*GetBookingSilvermobiRequest) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{9}
}
func (x *GetBookingSolidarityRequest) GetBookingId() string {
func (x *GetBookingSilvermobiRequest) GetBookingId() string {
if x != nil {
return x.BookingId
}
return ""
}
type GetBookingSolidarityResponse struct {
type GetBookingSilvermobiResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Booking *BookingSolidarity `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
Booking *BookingSilvermobi `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
}
func (x *GetBookingSolidarityResponse) Reset() {
*x = GetBookingSolidarityResponse{}
func (x *GetBookingSilvermobiResponse) Reset() {
*x = GetBookingSilvermobiResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_solidarity_api_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -572,13 +572,13 @@ func (x *GetBookingSolidarityResponse) Reset() {
}
}
func (x *GetBookingSolidarityResponse) String() string {
func (x *GetBookingSilvermobiResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBookingSolidarityResponse) ProtoMessage() {}
func (*GetBookingSilvermobiResponse) ProtoMessage() {}
func (x *GetBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
func (x *GetBookingSilvermobiResponse) ProtoReflect() protoreflect.Message {
mi := &file_solidarity_api_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -590,12 +590,12 @@ func (x *GetBookingSolidarityResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use GetBookingSolidarityResponse.ProtoReflect.Descriptor instead.
func (*GetBookingSolidarityResponse) Descriptor() ([]byte, []int) {
// Deprecated: Use GetBookingSilvermobiResponse.ProtoReflect.Descriptor instead.
func (*GetBookingSilvermobiResponse) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{10}
}
func (x *GetBookingSolidarityResponse) GetBooking() *BookingSolidarity {
func (x *GetBookingSilvermobiResponse) GetBooking() *BookingSilvermobi {
if x != nil {
return x.Booking
}
@ -607,7 +607,7 @@ type GetBookingsByStatusRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status BookingSolidarityStatus `protobuf:"varint,1,opt,name=status,proto3,enum=BookingSolidarityStatus" json:"status,omitempty"`
Status BookingSilvermobiStatus `protobuf:"varint,1,opt,name=status,proto3,enum=BookingSilvermobiStatus" json:"status,omitempty"`
Type UserType `protobuf:"varint,2,opt,name=type,proto3,enum=UserType" json:"type,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}
@ -644,11 +644,11 @@ func (*GetBookingsByStatusRequest) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{11}
}
func (x *GetBookingsByStatusRequest) GetStatus() BookingSolidarityStatus {
func (x *GetBookingsByStatusRequest) GetStatus() BookingSilvermobiStatus {
if x != nil {
return x.Status
}
return BookingSolidarityStatus_INITIATED
return BookingSilvermobiStatus_INITIATED
}
func (x *GetBookingsByStatusRequest) GetType() UserType {
@ -772,7 +772,7 @@ type GetBookingsByStatusResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Booking []*BookingSolidarity `protobuf:"bytes,1,rep,name=booking,proto3" json:"booking,omitempty"`
Booking []*BookingSilvermobi `protobuf:"bytes,1,rep,name=booking,proto3" json:"booking,omitempty"`
}
func (x *GetBookingsByStatusResponse) Reset() {
@ -807,7 +807,7 @@ func (*GetBookingsByStatusResponse) Descriptor() ([]byte, []int) {
return file_solidarity_api_proto_rawDescGZIP(), []int{14}
}
func (x *GetBookingsByStatusResponse) GetBooking() []*BookingSolidarity {
func (x *GetBookingsByStatusResponse) GetBooking() []*BookingSilvermobi {
if x != nil {
return x.Booking
}
@ -861,43 +861,43 @@ var file_solidarity_api_proto_rawDesc = []byte{
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
0x55, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67,
0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x33, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x62,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76,
0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x62,
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x4f, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74,
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f,
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62,
0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f,
0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f,
0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x07,
0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x07,
0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x8b, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72,
0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f,
0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d,
0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b,
0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61,
0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x55, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42,
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79,
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63,
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3c, 0x0a, 0x1b,
0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61,
0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62,
0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72,
0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62,
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x22, 0x4c, 0x0a, 0x1c, 0x47, 0x65,
0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69,
0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f,
0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f,
0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52,
0x07, 0x62, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x86, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74,
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75,
0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x04, 0x74, 0x79, 0x70,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79,
0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
@ -919,7 +919,7 @@ var file_solidarity_api_proto_rawDesc = []byte{
0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6b,
0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6f, 0x6b,
0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x07, 0x62,
0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x07, 0x62,
0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x32, 0xcc, 0x05, 0x0a, 0x11, 0x53, 0x6f, 0x6c, 0x69, 0x64,
0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x1e,
0x53, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
@ -935,22 +935,22 @@ var file_solidarity_api_proto_rawDesc = []byte{
0x1d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69,
0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x5e, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1f, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65,
0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76,
0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x5e, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e,
0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64,
0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69,
0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f,
0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52,
0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1f, 0x2e, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65,
0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76,
0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69,
0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x12, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b,
0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73,
0x69, 0x6e, 0x67, 0x53, 0x69, 0x6c, 0x76, 0x65, 0x72, 0x6d, 0x6f, 0x62, 0x69, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6f,
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b,
0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x53, 0x74,
@ -992,12 +992,12 @@ var file_solidarity_api_proto_goTypes = []interface{}{
(*DriverPunctualAvailabilities)(nil), // 2: DriverPunctualAvailabilities
(*PassengerTripResponse)(nil), // 3: PassengerTripResponse
(*DriverAvailabilitiesResponse)(nil), // 4: DriverAvailabilitiesResponse
(*CreateBookingSolidarityRequest)(nil), // 5: CreateBookingSolidarityRequest
(*CreateBookingSolidarityResponse)(nil), // 6: CreateBookingSolidarityResponse
(*UpdateBookingSolidarityRequest)(nil), // 7: UpdateBookingSolidarityRequest
(*UpdateBookingSolidarityResponse)(nil), // 8: UpdateBookingSolidarityResponse
(*GetBookingSolidarityRequest)(nil), // 9: GetBookingSolidarityRequest
(*GetBookingSolidarityResponse)(nil), // 10: GetBookingSolidarityResponse
(*CreateBookingSilvermobiRequest)(nil), // 5: CreateBookingSilvermobiRequest
(*CreateBookingSilvermobiResponse)(nil), // 6: CreateBookingSilvermobiResponse
(*UpdateBookingSilvermobiRequest)(nil), // 7: UpdateBookingSilvermobiRequest
(*UpdateBookingSilvermobiResponse)(nil), // 8: UpdateBookingSilvermobiResponse
(*GetBookingSilvermobiRequest)(nil), // 9: GetBookingSilvermobiRequest
(*GetBookingSilvermobiResponse)(nil), // 10: GetBookingSilvermobiResponse
(*GetBookingsByStatusRequest)(nil), // 11: GetBookingsByStatusRequest
(*DriverJourneysRequest)(nil), // 12: DriverJourneysRequest
(*DriverJourneysResponse)(nil), // 13: DriverJourneysResponse
@ -1007,9 +1007,9 @@ var file_solidarity_api_proto_goTypes = []interface{}{
(*DriverRequest)(nil), // 17: DriverRequest
(*RegularAvailabilitySlot)(nil), // 18: RegularAvailabilitySlot
(*PunctualAvailabilitySlot)(nil), // 19: PunctualAvailabilitySlot
(*BookingSolidarityRequest)(nil), // 20: BookingSolidarityRequest
(*BookingSolidarity)(nil), // 21: BookingSolidarity
(BookingSolidarityStatus)(0), // 22: BookingSolidarityStatus
(*BookingSilvermobiRequest)(nil), // 20: BookingSilvermobiRequest
(*BookingSilvermobi)(nil), // 21: BookingSilvermobi
(BookingSilvermobiStatus)(0), // 22: BookingSilvermobiStatus
(UserType)(0), // 23: UserType
(*Feature)(nil), // 24: Feature
(*timestamp.Timestamp)(nil), // 25: google.protobuf.Timestamp
@ -1022,29 +1022,29 @@ var file_solidarity_api_proto_depIdxs = []int32{
18, // 3: DriverRegularAvailabilities.driver_availabilities:type_name -> RegularAvailabilitySlot
17, // 4: DriverPunctualAvailabilities.driver_request:type_name -> DriverRequest
19, // 5: DriverPunctualAvailabilities.driver_availabilities:type_name -> PunctualAvailabilitySlot
20, // 6: CreateBookingSolidarityRequest.booking:type_name -> BookingSolidarityRequest
21, // 7: CreateBookingSolidarityResponse.booking:type_name -> BookingSolidarity
22, // 8: UpdateBookingSolidarityRequest.status:type_name -> BookingSolidarityStatus
21, // 9: GetBookingSolidarityResponse.booking:type_name -> BookingSolidarity
22, // 10: GetBookingsByStatusRequest.status:type_name -> BookingSolidarityStatus
20, // 6: CreateBookingSilvermobiRequest.booking:type_name -> BookingSilvermobiRequest
21, // 7: CreateBookingSilvermobiResponse.booking:type_name -> BookingSilvermobi
22, // 8: UpdateBookingSilvermobiRequest.status:type_name -> BookingSilvermobiStatus
21, // 9: GetBookingSilvermobiResponse.booking:type_name -> BookingSilvermobi
22, // 10: GetBookingsByStatusRequest.status:type_name -> BookingSilvermobiStatus
23, // 11: GetBookingsByStatusRequest.type:type_name -> UserType
24, // 12: DriverJourneysRequest.departure:type_name -> Feature
25, // 13: DriverJourneysRequest.departure_date:type_name -> google.protobuf.Timestamp
26, // 14: DriverJourneysResponse.driver_journeys:type_name -> DriverJourney
21, // 15: GetBookingsByStatusResponse.booking:type_name -> BookingSolidarity
21, // 15: GetBookingsByStatusResponse.booking:type_name -> BookingSilvermobi
1, // 16: SolidarityService.SetDriverRegularAvailabilities:input_type -> DriverRegularAvailabilities
2, // 17: SolidarityService.SetDriverPunctualAvailabilities:input_type -> DriverPunctualAvailabilities
5, // 18: SolidarityService.CreateBookingSolidarity:input_type -> CreateBookingSolidarityRequest
7, // 19: SolidarityService.UpdateBookingSolidarity:input_type -> UpdateBookingSolidarityRequest
9, // 20: SolidarityService.GetBookingSolidarity:input_type -> GetBookingSolidarityRequest
5, // 18: SolidarityService.CreateBookingSilvermobi:input_type -> CreateBookingSilvermobiRequest
7, // 19: SolidarityService.UpdateBookingSilvermobi:input_type -> UpdateBookingSilvermobiRequest
9, // 20: SolidarityService.GetBookingSilvermobi:input_type -> GetBookingSilvermobiRequest
11, // 21: SolidarityService.GetBookingsByStatus:input_type -> GetBookingsByStatusRequest
12, // 22: SolidarityService.DriverJourneys:input_type -> DriverJourneysRequest
0, // 23: SolidarityService.SetPassengerTrip:input_type -> PassengerTripRequest
4, // 24: SolidarityService.SetDriverRegularAvailabilities:output_type -> DriverAvailabilitiesResponse
4, // 25: SolidarityService.SetDriverPunctualAvailabilities:output_type -> DriverAvailabilitiesResponse
6, // 26: SolidarityService.CreateBookingSolidarity:output_type -> CreateBookingSolidarityResponse
8, // 27: SolidarityService.UpdateBookingSolidarity:output_type -> UpdateBookingSolidarityResponse
10, // 28: SolidarityService.GetBookingSolidarity:output_type -> GetBookingSolidarityResponse
6, // 26: SolidarityService.CreateBookingSilvermobi:output_type -> CreateBookingSilvermobiResponse
8, // 27: SolidarityService.UpdateBookingSilvermobi:output_type -> UpdateBookingSilvermobiResponse
10, // 28: SolidarityService.GetBookingSilvermobi:output_type -> GetBookingSilvermobiResponse
14, // 29: SolidarityService.GetBookingsByStatus:output_type -> GetBookingsByStatusResponse
13, // 30: SolidarityService.DriverJourneys:output_type -> DriverJourneysResponse
3, // 31: SolidarityService.SetPassengerTrip:output_type -> PassengerTripResponse
@ -1123,7 +1123,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateBookingSolidarityRequest); i {
switch v := v.(*CreateBookingSilvermobiRequest); i {
case 0:
return &v.state
case 1:
@ -1135,7 +1135,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateBookingSolidarityResponse); i {
switch v := v.(*CreateBookingSilvermobiResponse); i {
case 0:
return &v.state
case 1:
@ -1147,7 +1147,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateBookingSolidarityRequest); i {
switch v := v.(*UpdateBookingSilvermobiRequest); i {
case 0:
return &v.state
case 1:
@ -1159,7 +1159,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateBookingSolidarityResponse); i {
switch v := v.(*UpdateBookingSilvermobiResponse); i {
case 0:
return &v.state
case 1:
@ -1171,7 +1171,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBookingSolidarityRequest); i {
switch v := v.(*GetBookingSilvermobiRequest); i {
case 0:
return &v.state
case 1:
@ -1183,7 +1183,7 @@ func file_solidarity_api_proto_init() {
}
}
file_solidarity_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBookingSolidarityResponse); i {
switch v := v.(*GetBookingSilvermobiResponse); i {
case 0:
return &v.state
case 1:

View File

@ -6,9 +6,9 @@ import "solidarity-api-types.proto";
service SolidarityService {
rpc SetDriverRegularAvailabilities(DriverRegularAvailabilities) returns (DriverAvailabilitiesResponse) {}
rpc SetDriverPunctualAvailabilities(DriverPunctualAvailabilities) returns (DriverAvailabilitiesResponse) {}
rpc CreateBookingSolidarity(CreateBookingSolidarityRequest) returns (CreateBookingSolidarityResponse) {}
rpc UpdateBookingSolidarity(UpdateBookingSolidarityRequest) returns (UpdateBookingSolidarityResponse) {}
rpc GetBookingSolidarity(GetBookingSolidarityRequest) returns (GetBookingSolidarityResponse) {}
rpc CreateBookingSilvermobi(CreateBookingSilvermobiRequest) returns (CreateBookingSilvermobiResponse) {}
rpc UpdateBookingSilvermobi(UpdateBookingSilvermobiRequest) returns (UpdateBookingSilvermobiResponse) {}
rpc GetBookingSilvermobi(GetBookingSilvermobiRequest) returns (GetBookingSilvermobiResponse) {}
rpc GetBookingsByStatus(GetBookingsByStatusRequest) returns (GetBookingsByStatusResponse) {}
rpc DriverJourneys(DriverJourneysRequest) returns (DriverJourneysResponse) {}
rpc SetPassengerTrip(PassengerTripRequest) returns (PassengerTripResponse) {}
@ -41,35 +41,35 @@ message DriverAvailabilitiesResponse {
string message = 2;
}
message CreateBookingSolidarityRequest {
BookingSolidarityRequest booking = 1;
message CreateBookingSilvermobiRequest {
BookingSilvermobiRequest booking = 1;
}
message CreateBookingSolidarityResponse {
BookingSolidarity booking = 1;
message CreateBookingSilvermobiResponse {
BookingSilvermobi booking = 1;
}
message UpdateBookingSolidarityRequest {
message UpdateBookingSilvermobiRequest {
string booking_id = 1;
BookingSolidarityStatus status = 2;
BookingSilvermobiStatus status = 2;
string message = 3;
}
message UpdateBookingSolidarityResponse {
message UpdateBookingSilvermobiResponse {
bool success = 1;
string message = 2;
}
message GetBookingSolidarityRequest {
message GetBookingSilvermobiRequest {
string booking_id = 1;
}
message GetBookingSolidarityResponse {
BookingSolidarity booking = 1;
message GetBookingSilvermobiResponse {
BookingSilvermobi booking = 1;
}
message GetBookingsByStatusRequest{
BookingSolidarityStatus status = 1;
BookingSilvermobiStatus status = 1;
UserType type = 2;
string user_id = 3;
}
@ -84,5 +84,5 @@ message DriverJourneysResponse {
}
message GetBookingsByStatusResponse{
repeated BookingSolidarity booking = 1;
repeated BookingSilvermobi booking = 1;
}

View File

@ -21,9 +21,9 @@ const _ = grpc.SupportPackageIsVersion9
const (
SolidarityService_SetDriverRegularAvailabilities_FullMethodName = "/SolidarityService/SetDriverRegularAvailabilities"
SolidarityService_SetDriverPunctualAvailabilities_FullMethodName = "/SolidarityService/SetDriverPunctualAvailabilities"
SolidarityService_CreateBookingSolidarity_FullMethodName = "/SolidarityService/CreateBookingSolidarity"
SolidarityService_UpdateBookingSolidarity_FullMethodName = "/SolidarityService/UpdateBookingSolidarity"
SolidarityService_GetBookingSolidarity_FullMethodName = "/SolidarityService/GetBookingSolidarity"
SolidarityService_CreateBookingSilvermobi_FullMethodName = "/SolidarityService/CreateBookingSilvermobi"
SolidarityService_UpdateBookingSilvermobi_FullMethodName = "/SolidarityService/UpdateBookingSilvermobi"
SolidarityService_GetBookingSilvermobi_FullMethodName = "/SolidarityService/GetBookingSilvermobi"
SolidarityService_GetBookingsByStatus_FullMethodName = "/SolidarityService/GetBookingsByStatus"
SolidarityService_DriverJourneys_FullMethodName = "/SolidarityService/DriverJourneys"
SolidarityService_SetPassengerTrip_FullMethodName = "/SolidarityService/SetPassengerTrip"
@ -35,9 +35,9 @@ const (
type SolidarityServiceClient interface {
SetDriverRegularAvailabilities(ctx context.Context, in *DriverRegularAvailabilities, opts ...grpc.CallOption) (*DriverAvailabilitiesResponse, error)
SetDriverPunctualAvailabilities(ctx context.Context, in *DriverPunctualAvailabilities, opts ...grpc.CallOption) (*DriverAvailabilitiesResponse, error)
CreateBookingSolidarity(ctx context.Context, in *CreateBookingSolidarityRequest, opts ...grpc.CallOption) (*CreateBookingSolidarityResponse, error)
UpdateBookingSolidarity(ctx context.Context, in *UpdateBookingSolidarityRequest, opts ...grpc.CallOption) (*UpdateBookingSolidarityResponse, error)
GetBookingSolidarity(ctx context.Context, in *GetBookingSolidarityRequest, opts ...grpc.CallOption) (*GetBookingSolidarityResponse, error)
CreateBookingSilvermobi(ctx context.Context, in *CreateBookingSilvermobiRequest, opts ...grpc.CallOption) (*CreateBookingSilvermobiResponse, error)
UpdateBookingSilvermobi(ctx context.Context, in *UpdateBookingSilvermobiRequest, opts ...grpc.CallOption) (*UpdateBookingSilvermobiResponse, error)
GetBookingSilvermobi(ctx context.Context, in *GetBookingSilvermobiRequest, opts ...grpc.CallOption) (*GetBookingSilvermobiResponse, error)
GetBookingsByStatus(ctx context.Context, in *GetBookingsByStatusRequest, opts ...grpc.CallOption) (*GetBookingsByStatusResponse, error)
DriverJourneys(ctx context.Context, in *DriverJourneysRequest, opts ...grpc.CallOption) (*DriverJourneysResponse, error)
SetPassengerTrip(ctx context.Context, in *PassengerTripRequest, opts ...grpc.CallOption) (*PassengerTripResponse, error)
@ -71,30 +71,30 @@ func (c *solidarityServiceClient) SetDriverPunctualAvailabilities(ctx context.Co
return out, nil
}
func (c *solidarityServiceClient) CreateBookingSolidarity(ctx context.Context, in *CreateBookingSolidarityRequest, opts ...grpc.CallOption) (*CreateBookingSolidarityResponse, error) {
func (c *solidarityServiceClient) CreateBookingSilvermobi(ctx context.Context, in *CreateBookingSilvermobiRequest, opts ...grpc.CallOption) (*CreateBookingSilvermobiResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CreateBookingSolidarityResponse)
err := c.cc.Invoke(ctx, SolidarityService_CreateBookingSolidarity_FullMethodName, in, out, cOpts...)
out := new(CreateBookingSilvermobiResponse)
err := c.cc.Invoke(ctx, SolidarityService_CreateBookingSilvermobi_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *solidarityServiceClient) UpdateBookingSolidarity(ctx context.Context, in *UpdateBookingSolidarityRequest, opts ...grpc.CallOption) (*UpdateBookingSolidarityResponse, error) {
func (c *solidarityServiceClient) UpdateBookingSilvermobi(ctx context.Context, in *UpdateBookingSilvermobiRequest, opts ...grpc.CallOption) (*UpdateBookingSilvermobiResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(UpdateBookingSolidarityResponse)
err := c.cc.Invoke(ctx, SolidarityService_UpdateBookingSolidarity_FullMethodName, in, out, cOpts...)
out := new(UpdateBookingSilvermobiResponse)
err := c.cc.Invoke(ctx, SolidarityService_UpdateBookingSilvermobi_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *solidarityServiceClient) GetBookingSolidarity(ctx context.Context, in *GetBookingSolidarityRequest, opts ...grpc.CallOption) (*GetBookingSolidarityResponse, error) {
func (c *solidarityServiceClient) GetBookingSilvermobi(ctx context.Context, in *GetBookingSilvermobiRequest, opts ...grpc.CallOption) (*GetBookingSilvermobiResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetBookingSolidarityResponse)
err := c.cc.Invoke(ctx, SolidarityService_GetBookingSolidarity_FullMethodName, in, out, cOpts...)
out := new(GetBookingSilvermobiResponse)
err := c.cc.Invoke(ctx, SolidarityService_GetBookingSilvermobi_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@ -137,9 +137,9 @@ func (c *solidarityServiceClient) SetPassengerTrip(ctx context.Context, in *Pass
type SolidarityServiceServer interface {
SetDriverRegularAvailabilities(context.Context, *DriverRegularAvailabilities) (*DriverAvailabilitiesResponse, error)
SetDriverPunctualAvailabilities(context.Context, *DriverPunctualAvailabilities) (*DriverAvailabilitiesResponse, error)
CreateBookingSolidarity(context.Context, *CreateBookingSolidarityRequest) (*CreateBookingSolidarityResponse, error)
UpdateBookingSolidarity(context.Context, *UpdateBookingSolidarityRequest) (*UpdateBookingSolidarityResponse, error)
GetBookingSolidarity(context.Context, *GetBookingSolidarityRequest) (*GetBookingSolidarityResponse, error)
CreateBookingSilvermobi(context.Context, *CreateBookingSilvermobiRequest) (*CreateBookingSilvermobiResponse, error)
UpdateBookingSilvermobi(context.Context, *UpdateBookingSilvermobiRequest) (*UpdateBookingSilvermobiResponse, error)
GetBookingSilvermobi(context.Context, *GetBookingSilvermobiRequest) (*GetBookingSilvermobiResponse, error)
GetBookingsByStatus(context.Context, *GetBookingsByStatusRequest) (*GetBookingsByStatusResponse, error)
DriverJourneys(context.Context, *DriverJourneysRequest) (*DriverJourneysResponse, error)
SetPassengerTrip(context.Context, *PassengerTripRequest) (*PassengerTripResponse, error)
@ -159,14 +159,14 @@ func (UnimplementedSolidarityServiceServer) SetDriverRegularAvailabilities(conte
func (UnimplementedSolidarityServiceServer) SetDriverPunctualAvailabilities(context.Context, *DriverPunctualAvailabilities) (*DriverAvailabilitiesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetDriverPunctualAvailabilities not implemented")
}
func (UnimplementedSolidarityServiceServer) CreateBookingSolidarity(context.Context, *CreateBookingSolidarityRequest) (*CreateBookingSolidarityResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateBookingSolidarity not implemented")
func (UnimplementedSolidarityServiceServer) CreateBookingSilvermobi(context.Context, *CreateBookingSilvermobiRequest) (*CreateBookingSilvermobiResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateBookingSilvermobi not implemented")
}
func (UnimplementedSolidarityServiceServer) UpdateBookingSolidarity(context.Context, *UpdateBookingSolidarityRequest) (*UpdateBookingSolidarityResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateBookingSolidarity not implemented")
func (UnimplementedSolidarityServiceServer) UpdateBookingSilvermobi(context.Context, *UpdateBookingSilvermobiRequest) (*UpdateBookingSilvermobiResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateBookingSilvermobi not implemented")
}
func (UnimplementedSolidarityServiceServer) GetBookingSolidarity(context.Context, *GetBookingSolidarityRequest) (*GetBookingSolidarityResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBookingSolidarity not implemented")
func (UnimplementedSolidarityServiceServer) GetBookingSilvermobi(context.Context, *GetBookingSilvermobiRequest) (*GetBookingSilvermobiResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBookingSilvermobi not implemented")
}
func (UnimplementedSolidarityServiceServer) GetBookingsByStatus(context.Context, *GetBookingsByStatusRequest) (*GetBookingsByStatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBookingsByStatus not implemented")
@ -234,56 +234,56 @@ func _SolidarityService_SetDriverPunctualAvailabilities_Handler(srv interface{},
return interceptor(ctx, in, info, handler)
}
func _SolidarityService_CreateBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateBookingSolidarityRequest)
func _SolidarityService_CreateBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateBookingSilvermobiRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SolidarityServiceServer).CreateBookingSolidarity(ctx, in)
return srv.(SolidarityServiceServer).CreateBookingSilvermobi(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: SolidarityService_CreateBookingSolidarity_FullMethodName,
FullMethod: SolidarityService_CreateBookingSilvermobi_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SolidarityServiceServer).CreateBookingSolidarity(ctx, req.(*CreateBookingSolidarityRequest))
return srv.(SolidarityServiceServer).CreateBookingSilvermobi(ctx, req.(*CreateBookingSilvermobiRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SolidarityService_UpdateBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateBookingSolidarityRequest)
func _SolidarityService_UpdateBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateBookingSilvermobiRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SolidarityServiceServer).UpdateBookingSolidarity(ctx, in)
return srv.(SolidarityServiceServer).UpdateBookingSilvermobi(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: SolidarityService_UpdateBookingSolidarity_FullMethodName,
FullMethod: SolidarityService_UpdateBookingSilvermobi_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SolidarityServiceServer).UpdateBookingSolidarity(ctx, req.(*UpdateBookingSolidarityRequest))
return srv.(SolidarityServiceServer).UpdateBookingSilvermobi(ctx, req.(*UpdateBookingSilvermobiRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SolidarityService_GetBookingSolidarity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetBookingSolidarityRequest)
func _SolidarityService_GetBookingSilvermobi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetBookingSilvermobiRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SolidarityServiceServer).GetBookingSolidarity(ctx, in)
return srv.(SolidarityServiceServer).GetBookingSilvermobi(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: SolidarityService_GetBookingSolidarity_FullMethodName,
FullMethod: SolidarityService_GetBookingSilvermobi_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SolidarityServiceServer).GetBookingSolidarity(ctx, req.(*GetBookingSolidarityRequest))
return srv.(SolidarityServiceServer).GetBookingSilvermobi(ctx, req.(*GetBookingSilvermobiRequest))
}
return interceptor(ctx, in, info, handler)
}
@ -358,16 +358,16 @@ var SolidarityService_ServiceDesc = grpc.ServiceDesc{
Handler: _SolidarityService_SetDriverPunctualAvailabilities_Handler,
},
{
MethodName: "CreateBookingSolidarity",
Handler: _SolidarityService_CreateBookingSolidarity_Handler,
MethodName: "CreateBookingSilvermobi",
Handler: _SolidarityService_CreateBookingSilvermobi_Handler,
},
{
MethodName: "UpdateBookingSolidarity",
Handler: _SolidarityService_UpdateBookingSolidarity_Handler,
MethodName: "UpdateBookingSilvermobi",
Handler: _SolidarityService_UpdateBookingSilvermobi_Handler,
},
{
MethodName: "GetBookingSolidarity",
Handler: _SolidarityService_GetBookingSolidarity_Handler,
MethodName: "GetBookingSilvermobi",
Handler: _SolidarityService_GetBookingSilvermobi_Handler,
},
{
MethodName: "GetBookingsByStatus",

View File

@ -23,11 +23,11 @@ func (s *SolidarityService) SetDriverPunctualAvailabilities(ctx context.Context,
return resp, err
}
func (s *SolidarityService) CreateBooking(ctx context.Context, req *proto.CreateBookingSolidarityRequest) (resp *proto.CreateBookingSolidarityResponse, err error) {
func (s *SolidarityService) CreateBooking(ctx context.Context, req *proto.CreateBookingSilvermobiRequest) (resp *proto.CreateBookingSilvermobiResponse, err error) {
log.Info().
Str("Booking ID", req.Booking.Id).
Msg("CreateBooking")
resp, err = s.SolidarityClient.CreateBookingSolidarity(ctx, req)
resp, err = s.SolidarityClient.CreateBookingSilvermobi(ctx, req)
if err == nil {
_ = s.Handler.SendNotification(req.Booking.DriverId, "Silvermobi", "Vous avez reçu une demande de trajet. \n Pour plus de détails, veuillez consulter l'interface \"Mes Trajets\" dans l'application SilverMobi.")
err = s.Handler.SendEmail(req.Booking.DriverId, "Silvermobi", "Vous avez reçu une demande de trajet. \n Pour plus de détails, veuillez consulter l'interface \"Mes Trajets\" dans l'application SilverMobi.")
@ -36,19 +36,19 @@ func (s *SolidarityService) CreateBooking(ctx context.Context, req *proto.Create
return resp, err
}
func (s *SolidarityService) UpdateBooking(ctx context.Context, req *proto.UpdateBookingSolidarityRequest) (resp *proto.UpdateBookingSolidarityResponse, err error) {
func (s *SolidarityService) UpdateBooking(ctx context.Context, req *proto.UpdateBookingSilvermobiRequest) (resp *proto.UpdateBookingSilvermobiResponse, err error) {
log.Info().
Str("Booking ID", req.BookingId).
Msg("UpdateBooking")
resp, err = s.SolidarityClient.UpdateBookingSolidarity(ctx, req)
resp, err = s.SolidarityClient.UpdateBookingSilvermobi(ctx, req)
return resp, err
}
func (s *SolidarityService) GetBooking(ctx context.Context, req *proto.GetBookingSolidarityRequest) (resp *proto.GetBookingSolidarityResponse, err error) {
func (s *SolidarityService) GetBooking(ctx context.Context, req *proto.GetBookingSilvermobiRequest) (resp *proto.GetBookingSilvermobiResponse, err error) {
log.Info().
Str("Booking ID", req.BookingId).
Msg("GetBooking")
resp, err = s.SolidarityClient.GetBookingSolidarity(ctx, req)
resp, err = s.SolidarityClient.GetBookingSilvermobi(ctx, req)
return resp, err
}