From 2a1f84dcee04fc20ea6ce63c1a3069cf1ba18518 Mon Sep 17 00:00:00 2001 From: Ekrem Seren Date: Mon, 23 Sep 2024 14:07:38 +0300 Subject: [PATCH] Update all files to use fully qualified names (#42) --- .../cmp/services/accommodation/v1/info.proto | 2 +- .../cmp/services/accommodation/v1/list.proto | 2 +- .../accommodation/v1/property_types.proto | 16 +++++----- .../services/accommodation/v1/search.proto | 4 +-- .../accommodation/v1/search_query_types.proto | 4 +-- .../v1/search_result_types.proto | 2 +- .../accommodation/v1/unit_types.proto | 2 +- .../services/activity/v1/activity_types.proto | 16 +++++----- proto/cmp/services/activity/v1/info.proto | 2 +- proto/cmp/services/activity/v1/list.proto | 2 +- proto/cmp/services/activity/v1/search.proto | 4 +-- .../activity/v1/search_result_types.proto | 6 ++-- proto/cmp/services/book/v1/validate.proto | 4 +-- .../services/info/v1/entry_requirements.proto | 12 ++++---- proto/cmp/services/network/v1/fee.proto | 2 +- .../partner/v1/partner_configuration.proto | 2 +- proto/cmp/services/transport/v1/search.proto | 4 +-- .../transport/v1/search_query_types.proto | 8 ++--- .../transport/v1/search_result_types.proto | 2 +- .../services/transport/v1/trip_types.proto | 6 ++-- proto/cmp/types/v1/address.proto | 2 +- proto/cmp/types/v1/amenity.proto | 2 +- proto/cmp/types/v1/baggage.proto | 6 ++-- proto/cmp/types/v1/bed.proto | 2 +- proto/cmp/types/v1/bookability.proto | 2 +- proto/cmp/types/v1/cancel_policy.proto | 2 +- proto/cmp/types/v1/change_policy.proto | 2 +- proto/cmp/types/v1/common.proto | 12 ++++---- proto/cmp/types/v1/credit_card.proto | 2 +- proto/cmp/types/v1/description.proto | 6 ++-- proto/cmp/types/v1/document.proto | 2 +- proto/cmp/types/v1/duration.proto | 4 +-- proto/cmp/types/v1/email.proto | 2 +- proto/cmp/types/v1/file.proto | 4 +-- proto/cmp/types/v1/filter.proto | 2 +- proto/cmp/types/v1/link.proto | 2 +- proto/cmp/types/v1/localized.proto | 2 +- proto/cmp/types/v1/location.proto | 6 ++-- proto/cmp/types/v1/meal_plan.proto | 2 +- proto/cmp/types/v1/measurement.proto | 6 ++-- proto/cmp/types/v1/partner.proto | 14 ++++----- proto/cmp/types/v1/payment.proto | 2 +- proto/cmp/types/v1/phone.proto | 2 +- proto/cmp/types/v1/price.proto | 8 ++--- proto/cmp/types/v1/product_code.proto | 2 +- proto/cmp/types/v1/rate.proto | 4 +-- proto/cmp/types/v1/search.proto | 18 +++++------ proto/cmp/types/v1/seat_map.proto | 30 +++++++++---------- proto/cmp/types/v1/service_fact.proto | 8 ++--- proto/cmp/types/v1/sorting.proto | 4 +-- proto/cmp/types/v1/traveller.proto | 4 +-- 51 files changed, 134 insertions(+), 134 deletions(-) diff --git a/proto/cmp/services/accommodation/v1/info.proto b/proto/cmp/services/accommodation/v1/info.proto index 09aead94..15d58c53 100644 --- a/proto/cmp/services/accommodation/v1/info.proto +++ b/proto/cmp/services/accommodation/v1/info.proto @@ -27,7 +27,7 @@ message AccommodationProductInfoResponse { cmp.types.v1.ResponseHeader header = 1; // Product list: Properties - repeated PropertyExtendedInfo properties = 2; + repeated cmp.services.accommodation.v1.PropertyExtendedInfo properties = 2; } // Accommodation product info service definition diff --git a/proto/cmp/services/accommodation/v1/list.proto b/proto/cmp/services/accommodation/v1/list.proto index ae4a89df..8fcacf1e 100644 --- a/proto/cmp/services/accommodation/v1/list.proto +++ b/proto/cmp/services/accommodation/v1/list.proto @@ -19,7 +19,7 @@ message AccommodationProductListResponse { cmp.types.v1.ResponseHeader header = 1; // Product list: Properties - repeated Property properties = 2; + repeated cmp.services.accommodation.v1.Property properties = 2; } // Accommodation product list service definition diff --git a/proto/cmp/services/accommodation/v1/property_types.proto b/proto/cmp/services/accommodation/v1/property_types.proto index 693648d5..016bd317 100644 --- a/proto/cmp/services/accommodation/v1/property_types.proto +++ b/proto/cmp/services/accommodation/v1/property_types.proto @@ -36,11 +36,11 @@ message Property { // Ex: "Hilton" string chain = 5; - // Ex: CategoryRating.CATEGORY_RATING_4_5 - CategoryRating category_rating = 6; + // Ex: CATEGORY_RATING_4_5 + cmp.services.accommodation.v1.CategoryRating category_rating = 6; - // Ex: CategoryUnit.CATEGORY_UNIT_PALMS - CategoryUnit category_unit = 7; + // Ex: CATEGORY_UNIT_PALMS + cmp.services.accommodation.v1.CategoryUnit category_unit = 7; // Contact Info: phone, address, email, links cmp.types.v1.ContactInfo contact_info = 8; @@ -89,7 +89,7 @@ enum CategoryUnit { // This message type contains extended info about a property message PropertyExtendedInfo { // Property - Property property = 1; + cmp.services.accommodation.v1.Property property = 1; // Images repeated cmp.types.v1.Image images = 2; @@ -110,7 +110,7 @@ message PropertyExtendedInfo { string payment_type = 7; // Rooms - repeated Room rooms = 8; + repeated cmp.services.accommodation.v1.Room rooms = 8; } message Room { @@ -146,7 +146,7 @@ message Room { repeated cmp.types.v1.Bed beds = 8; // Occupancy - Occupancy total_occupancy = 9; + cmp.services.accommodation.v1.Occupancy total_occupancy = 9; // Services repeated cmp.types.v1.ServiceFact services = 10; @@ -172,7 +172,7 @@ message Occupancy { bool infant_counted_in_total_guests = 5; // Occupancy options - repeated OccupancyOption occupancy_options = 6; + repeated cmp.services.accommodation.v1.OccupancyOption occupancy_options = 6; } message OccupancyOption { diff --git a/proto/cmp/services/accommodation/v1/search.proto b/proto/cmp/services/accommodation/v1/search.proto index 93457a05..71151e0e 100644 --- a/proto/cmp/services/accommodation/v1/search.proto +++ b/proto/cmp/services/accommodation/v1/search.proto @@ -87,7 +87,7 @@ message AccommodationSearchRequest { // This field represents a list of search queries that can be used to create // multiroom multi location searches. - repeated AccommodationSearchQuery queries = 4; + repeated cmp.services.accommodation.v1.AccommodationSearchQuery queries = 4; } // The `Accommodation Search Response` message type facilitates the response for @@ -106,7 +106,7 @@ message AccommodationSearchResponse { cmp.types.v1.SearchResponseMetadata metadata = 2; // Unique combinations of bookable search results, like property, - repeated AccommodationSearchResult results = 3; + repeated cmp.services.accommodation.v1.AccommodationSearchResult results = 3; // Global definition of the travellers for all results to be used via the traveller_id each unit. repeated cmp.types.v1.BasicTraveller travellers = 4; diff --git a/proto/cmp/services/accommodation/v1/search_query_types.proto b/proto/cmp/services/accommodation/v1/search_query_types.proto index e1309f6d..b5e153ed 100644 --- a/proto/cmp/services/accommodation/v1/search_query_types.proto +++ b/proto/cmp/services/accommodation/v1/search_query_types.proto @@ -13,7 +13,7 @@ message AccommodationSearchQuery { // Accommodation specific search parameters Ex: Specific search parameters like // geo location, meal plan, rate plan and rate rules. - AccommodationSearchParameters search_parameters_accommodation = 2; + cmp.services.accommodation.v1.AccommodationSearchParameters search_parameters_accommodation = 2; // Travel period cmp.types.v1.TravelPeriod travel_period = 3; @@ -25,5 +25,5 @@ message AccommodationSearchQuery { int32 unit_count = 5; // Type of the unit, like room or holiday home - UnitType unit_type = 6; + cmp.services.accommodation.v1.UnitType unit_type = 6; } diff --git a/proto/cmp/services/accommodation/v1/search_result_types.proto b/proto/cmp/services/accommodation/v1/search_result_types.proto index 15d2061a..f174ce21 100644 --- a/proto/cmp/services/accommodation/v1/search_result_types.proto +++ b/proto/cmp/services/accommodation/v1/search_result_types.proto @@ -22,7 +22,7 @@ message AccommodationSearchResult { int32 query_id = 2; // Units for this search result - repeated Unit units = 3; + repeated cmp.services.accommodation.v1.Unit units = 3; // ## Total price in detail, with breakdowns cmp.types.v1.PriceDetail total_price_detail = 4; diff --git a/proto/cmp/services/accommodation/v1/unit_types.proto b/proto/cmp/services/accommodation/v1/unit_types.proto index 8a34219a..1865f362 100644 --- a/proto/cmp/services/accommodation/v1/unit_types.proto +++ b/proto/cmp/services/accommodation/v1/unit_types.proto @@ -22,7 +22,7 @@ import "cmp/types/v1/travel_period.proto"; message Unit { // Unit Type. Used to distinguish between hotel rooms and holiday homes. // Ex: `UnitType.UNIT_TYPE_ROOM` - UnitType type = 1; + cmp.services.accommodation.v1.UnitType type = 1; // Room code of the unit in case of hotel. Ex: "RMSDDB0000". This code must explicitly // match the supplier_room_code in the ProductList and the ProductInfo messages, so that diff --git a/proto/cmp/services/activity/v1/activity_types.proto b/proto/cmp/services/activity/v1/activity_types.proto index eb6c78cb..7e631060 100644 --- a/proto/cmp/services/activity/v1/activity_types.proto +++ b/proto/cmp/services/activity/v1/activity_types.proto @@ -98,29 +98,29 @@ message PickupDropoffEvent { // Activity static info message ActivityExtendedInfo { // Activity dynamic info references - Activity activity = 1; + cmp.services.activity.v1.Activity activity = 1; // Available Units - repeated ActivityUnit units = 2; + repeated cmp.services.activity.v1.ActivityUnit units = 2; // Available Services - repeated ActivityService services = 3; + repeated cmp.services.activity.v1.ActivityService services = 3; // Transfer Zone(s) in which participants of the activity can be used for pick-up // and drop-off - repeated TransferZone zones = 4; + repeated cmp.services.activity.v1.TransferZone zones = 4; // Descriptions with different languages repeated cmp.types.v1.LocalizedDescriptionSet descriptions = 5; // Coordinates of where the activity takes place - ActivityLocation location = 6; + cmp.services.activity.v1.ActivityLocation location = 6; // Activity Features - repeated ActivityFeature features = 7; + repeated cmp.services.activity.v1.ActivityFeature features = 7; // Tags - repeated ActivityTag tags = 8; + repeated cmp.services.activity.v1.ActivityTag tags = 8; // Languages repeated cmp.types.v1.Language languages = 9; @@ -233,7 +233,7 @@ message TransferZone { cmp.types.v1.GeoTree geo_tree = 2; // pick-up and drop-off information about location and time - repeated PickupDropoffEvent pickup_dropoff_events = 3; + repeated cmp.services.activity.v1.PickupDropoffEvent pickup_dropoff_events = 3; } message ActivityFeature { diff --git a/proto/cmp/services/activity/v1/info.proto b/proto/cmp/services/activity/v1/info.proto index 11c63af4..ecbadc51 100644 --- a/proto/cmp/services/activity/v1/info.proto +++ b/proto/cmp/services/activity/v1/info.proto @@ -29,7 +29,7 @@ message ActivityProductInfoResponse { cmp.types.v1.ResponseHeader header = 1; // Product list: Activities - repeated ActivityExtendedInfo activities = 2; + repeated cmp.services.activity.v1.ActivityExtendedInfo activities = 2; } // Activity product info service definition diff --git a/proto/cmp/services/activity/v1/list.proto b/proto/cmp/services/activity/v1/list.proto index d3c50566..0f1543ca 100644 --- a/proto/cmp/services/activity/v1/list.proto +++ b/proto/cmp/services/activity/v1/list.proto @@ -19,7 +19,7 @@ message ActivityProductListResponse { cmp.types.v1.ResponseHeader header = 1; // Product list: Activities - repeated Activity activities = 2; + repeated cmp.services.activity.v1.Activity activities = 2; } // This service is used to get a product list for activities. diff --git a/proto/cmp/services/activity/v1/search.proto b/proto/cmp/services/activity/v1/search.proto index f2fefd43..b43ced01 100644 --- a/proto/cmp/services/activity/v1/search.proto +++ b/proto/cmp/services/activity/v1/search.proto @@ -64,7 +64,7 @@ message ActivitySearchRequest { // // Here we set for example a list of activity product codes that we want to search // for, set min or mar duration or price. - ActivitySearchParameters search_parameters_activity = 4; + cmp.services.activity.v1.ActivitySearchParameters search_parameters_activity = 4; // Travel period cmp.types.v1.TravelPeriod travel_period = 5; @@ -139,7 +139,7 @@ message ActivitySearchResponse { // Unique combinations of bookable search results, each identified by a result_id // that needs to be carried through to the validate request. - repeated ActivitySearchResult results = 3; + repeated cmp.services.activity.v1.ActivitySearchResult results = 3; // The traveller_id is specified in each result and the ids are detailed with // basic traveller data only once in the top-level search response to avoid diff --git a/proto/cmp/services/activity/v1/search_result_types.proto b/proto/cmp/services/activity/v1/search_result_types.proto index 688f557f..353733b2 100644 --- a/proto/cmp/services/activity/v1/search_result_types.proto +++ b/proto/cmp/services/activity/v1/search_result_types.proto @@ -18,16 +18,16 @@ message ActivitySearchResult { int32 result_id = 1; // Activity basic info - Activity info = 2; + cmp.services.activity.v1.Activity info = 2; // Schedule cmp.types.v1.DateTimeRange schedule = 3; // Activity location - ActivityLocation location = 4; + cmp.services.activity.v1.ActivityLocation location = 4; // Pickup Dropoff - repeated PickupDropoffEvent pickup_dropoff_events = 5; + repeated cmp.services.activity.v1.PickupDropoffEvent pickup_dropoff_events = 5; // Min participants int32 min_participants = 6; diff --git a/proto/cmp/services/book/v1/validate.proto b/proto/cmp/services/book/v1/validate.proto index 8bbff8ac..c598fe36 100644 --- a/proto/cmp/services/book/v1/validate.proto +++ b/proto/cmp/services/book/v1/validate.proto @@ -13,7 +13,7 @@ message ValidationRequest { cmp.types.v1.RequestHeader header = 1; // Validation object - ValidationObject validation_object = 2; + cmp.services.book.v1.ValidationObject validation_object = 2; } message ValidationResponse { @@ -24,7 +24,7 @@ message ValidationResponse { cmp.types.v1.UUID validation_id = 2; // Validation object - ValidationObject validation_object = 3; + cmp.services.book.v1.ValidationObject validation_object = 3; // Price details for the validated product cmp.types.v1.PriceDetail price_detail = 4; diff --git a/proto/cmp/services/info/v1/entry_requirements.proto b/proto/cmp/services/info/v1/entry_requirements.proto index 62a64fa8..6c1743d8 100644 --- a/proto/cmp/services/info/v1/entry_requirements.proto +++ b/proto/cmp/services/info/v1/entry_requirements.proto @@ -61,10 +61,10 @@ message CountryEntryRequirementsResponse { cmp.types.v1.UUID response_id = 2; // Categories - repeated CountryEntryRequirementCategory categories = 3; + repeated cmp.services.info.v1.CountryEntryRequirementCategory categories = 3; // Items - repeated CountryEntryRequirementItem items = 4; + repeated cmp.services.info.v1.CountryEntryRequirementItem items = 4; } // Types @@ -77,10 +77,10 @@ message CountryEntryRequirementCategory { repeated cmp.types.v1.LocalizedString names = 2; // Items - repeated CountryEntryRequirementItem items = 3; + repeated cmp.services.info.v1.CountryEntryRequirementItem items = 3; // Sub categories - repeated CountryEntryRequirementCategory sub_categories = 4; + repeated cmp.services.info.v1.CountryEntryRequirementCategory sub_categories = 4; } message CountryEntryRequirementItem { @@ -88,10 +88,10 @@ message CountryEntryRequirementItem { string key = 1; // Language specific names and descriptions - repeated LocalizedItemInfo info = 2; + repeated cmp.services.info.v1.LocalizedItemInfo info = 2; // Status of the item. TODO: Add more explanation, what it means if it's false? - ItemStatus status = 3; + cmp.services.info.v1.ItemStatus status = 3; // Significant update date google.protobuf.Timestamp last_significant_update = 4; diff --git a/proto/cmp/services/network/v1/fee.proto b/proto/cmp/services/network/v1/fee.proto index 10115315..09c85156 100644 --- a/proto/cmp/services/network/v1/fee.proto +++ b/proto/cmp/services/network/v1/fee.proto @@ -19,7 +19,7 @@ message GetNetworkFeeRequest { } message GetNetworkFeeResponse { - NetworkFee network_fee = 1; + cmp.services.network.v1.NetworkFee network_fee = 1; int32 current_block_height = 2; } diff --git a/proto/cmp/services/partner/v1/partner_configuration.proto b/proto/cmp/services/partner/v1/partner_configuration.proto index fbc8c0f9..58046da1 100644 --- a/proto/cmp/services/partner/v1/partner_configuration.proto +++ b/proto/cmp/services/partner/v1/partner_configuration.proto @@ -24,7 +24,7 @@ message GetPartnerConfigurationRequest { message GetPartnerConfigurationResponse { // Partner configuration - PartnerConfiguration partner_configuration = 1; + cmp.services.partner.v1.PartnerConfiguration partner_configuration = 1; // Current block height. Distributors can keep this info for later reference. int32 current_block_height = 2; diff --git a/proto/cmp/services/transport/v1/search.proto b/proto/cmp/services/transport/v1/search.proto index d6807ff9..2ec5a057 100644 --- a/proto/cmp/services/transport/v1/search.proto +++ b/proto/cmp/services/transport/v1/search.proto @@ -34,7 +34,7 @@ message TransportSearchRequest { cmp.types.v1.SearchParameters search_parameters = 3; // Multiple search queries for this search request - repeated TransportSearchQuery queries = 4; + repeated cmp.services.transport.v1.TransportSearchQuery queries = 4; // Remarks string remarks = 5; @@ -56,7 +56,7 @@ message TransportSearchResponse { repeated cmp.types.v1.ContentSourceType conten_source_types = 3; // Transit search results - repeated TransportSearchResult results = 4; + repeated cmp.services.transport.v1.TransportSearchResult results = 4; // Global definition of the travellers for all results to be used via the traveller_id repeated cmp.types.v1.BasicTraveller travellers = 5; diff --git a/proto/cmp/services/transport/v1/search_query_types.proto b/proto/cmp/services/transport/v1/search_query_types.proto index d8f3116a..21c512d3 100644 --- a/proto/cmp/services/transport/v1/search_query_types.proto +++ b/proto/cmp/services/transport/v1/search_query_types.proto @@ -26,20 +26,20 @@ message TransportSearchQuery { repeated cmp.types.v1.BasicTraveller travellers = 2; // Trips - repeated QueryTrip trips = 3; + repeated cmp.services.transport.v1.QueryTrip trips = 3; } // Version of `Trip` object in `trip_types.prot` for search request's queries. It // contains only departure and arrival objects, lacking the segments field. message QueryTrip { // Departure event - QueryTransitEvent departure = 1; + cmp.services.transport.v1.QueryTransitEvent departure = 1; // Arrival event - QueryTransitEvent arrival = 2; + cmp.services.transport.v1.QueryTransitEvent arrival = 2; // Transport specific search parameters - TransportSearchParameters search_parameters_transport = 3; + cmp.services.transport.v1.TransportSearchParameters search_parameters_transport = 3; } // Represents a departure or arrival event for search request's query. This type is diff --git a/proto/cmp/services/transport/v1/search_result_types.proto b/proto/cmp/services/transport/v1/search_result_types.proto index fbb7a3e3..f6fd1185 100644 --- a/proto/cmp/services/transport/v1/search_result_types.proto +++ b/proto/cmp/services/transport/v1/search_result_types.proto @@ -38,7 +38,7 @@ message TransportSearchResult { // we rent a car and do a road trip to San Fransisco and we take a flight from SFO // to SYD, where afer a couple of days we move on to Indonesia, Thailand, Japan, // Türkiye and back to Amsterdam again. - repeated Trip travelling_trips = 5; + repeated cmp.services.transport.v1.Trip travelling_trips = 5; // Total Price cmp.types.v1.PriceDetail total_price = 6; diff --git a/proto/cmp/services/transport/v1/trip_types.proto b/proto/cmp/services/transport/v1/trip_types.proto index 3298b435..611beec9 100644 --- a/proto/cmp/services/transport/v1/trip_types.proto +++ b/proto/cmp/services/transport/v1/trip_types.proto @@ -18,7 +18,7 @@ import "google/protobuf/timestamp.proto"; message Trip { // Departure and Arrival dates and times can be derrived from the first and last segments // Trip segments are the legs offered - repeated TripSegment segments = 1; + repeated cmp.services.transport.v1.TripSegment segments = 1; } // Represents a departure or arrival event @@ -70,10 +70,10 @@ message TripSegment { cmp.types.v1.SupplierProductCode supplier_code = 6; // Departure - TransitEvent departure = 7; + cmp.services.transport.v1.TransitEvent departure = 7; // Arrival - TransitEvent arrival = 8; + cmp.services.transport.v1.TransitEvent arrival = 8; // Flights, trains and transfers often offer different service types // for a product. Think about economy or business for flights, first and second diff --git a/proto/cmp/types/v1/address.proto b/proto/cmp/types/v1/address.proto index 5948bfe8..a1216694 100644 --- a/proto/cmp/types/v1/address.proto +++ b/proto/cmp/types/v1/address.proto @@ -13,5 +13,5 @@ message Address { string line_2 = 2; string district = 3; string zip_code = 5; - GeoTree geo_tree = 6; + cmp.types.v1.GeoTree geo_tree = 6; } diff --git a/proto/cmp/types/v1/amenity.proto b/proto/cmp/types/v1/amenity.proto index 6b10890b..6a7af504 100644 --- a/proto/cmp/types/v1/amenity.proto +++ b/proto/cmp/types/v1/amenity.proto @@ -35,7 +35,7 @@ package cmp.types.v1; // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/amenity.proto.dot.svg) message Amenity { // Amenity type like INTERNET, POOL, FOOD_BEVERAGE - AmenityType type = 1; + cmp.types.v1.AmenityType type = 1; // Attributes of the amenity map attributes = 2; diff --git a/proto/cmp/types/v1/baggage.proto b/proto/cmp/types/v1/baggage.proto index bfea5c04..8f488a49 100644 --- a/proto/cmp/types/v1/baggage.proto +++ b/proto/cmp/types/v1/baggage.proto @@ -12,16 +12,16 @@ message Baggage { // Baggage type // // Enum of allowed baggage types. - BaggageType type = 1; + cmp.types.v1.BaggageType type = 1; // Maximum number of the specified baggage count allowed for this type int32 max_count = 2; // Maximum weight of each of the specified baggage type allowed - Weight max_weight = 3; + cmp.types.v1.Weight max_weight = 3; // Maximum length, width and height of the specified bagage type allowed - Dimension max_dimension = 4; + cmp.types.v1.Dimension max_dimension = 4; // traveller ID to specify the various types of baggage for each of participants // of a trip. If there is just a total of different types of baggage, then it is diff --git a/proto/cmp/types/v1/bed.proto b/proto/cmp/types/v1/bed.proto index bb885db9..c4a3c16d 100644 --- a/proto/cmp/types/v1/bed.proto +++ b/proto/cmp/types/v1/bed.proto @@ -5,7 +5,7 @@ package cmp.types.v1; // ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/bed.proto.dot.xs.svg) // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/bed.proto.dot.svg) message Bed { - BedType type = 1; + cmp.types.v1.BedType type = 1; int32 count = 2; } diff --git a/proto/cmp/types/v1/bookability.proto b/proto/cmp/types/v1/bookability.proto index 3af93074..2dba46a2 100644 --- a/proto/cmp/types/v1/bookability.proto +++ b/proto/cmp/types/v1/bookability.proto @@ -7,7 +7,7 @@ import "cmp/types/v1/time.proto"; // ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/bookability.proto.dot.xs.svg) // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/bookability.proto.dot.svg) message Bookability { - BookabilityType type = 1; + cmp.types.v1.BookabilityType type = 1; // In case of a bookable=on_request status, a confirmation time should be given by // the supplier. The supplier is to confirm the on-request booking with that diff --git a/proto/cmp/types/v1/cancel_policy.proto b/proto/cmp/types/v1/cancel_policy.proto index 6eb22b39..79b7156f 100644 --- a/proto/cmp/types/v1/cancel_policy.proto +++ b/proto/cmp/types/v1/cancel_policy.proto @@ -35,7 +35,7 @@ message CancelPolicy { // before consumption, they must be computed to one uniform format of date ranges // and penalties, related to the start DateTime of the service or product // delivery. - repeated CancelPenalty cancel_penalties = 3; + repeated cmp.types.v1.CancelPenalty cancel_penalties = 3; } // Cancellation Penalty diff --git a/proto/cmp/types/v1/change_policy.proto b/proto/cmp/types/v1/change_policy.proto index b8257b20..519370f1 100644 --- a/proto/cmp/types/v1/change_policy.proto +++ b/proto/cmp/types/v1/change_policy.proto @@ -34,7 +34,7 @@ message ChangePolicy { // before consumption, they must be computed to one uniform format of date ranges // and fees, related to the start DateTime of the service or product // delivery. - repeated ChangeType change_types = 3; + repeated cmp.types.v1.ChangeType change_types = 3; } // ChangeTypes diff --git a/proto/cmp/types/v1/common.proto b/proto/cmp/types/v1/common.proto index 07a7e8a6..cd2ae7b5 100644 --- a/proto/cmp/types/v1/common.proto +++ b/proto/cmp/types/v1/common.proto @@ -42,7 +42,7 @@ message Header { // partner is still in version 1.1.0 that does not have the new filter. Obviously the // supply partner has not processed the new field and the response is not filtered as // specified in the request. - Version version = 1; + cmp.types.v1.Version version = 1; // End-user wallet ID for personalization purposes string end_user_wallet_address = 2; @@ -64,22 +64,22 @@ message Version { } message RequestHeader { - Header base_header = 1; + cmp.types.v1.Header base_header = 1; } message ResponseHeader { - Header base_header = 1; + cmp.types.v1.Header base_header = 1; // Status of the response, success or failure - StatusType status = 2; + cmp.types.v1.StatusType status = 2; // Alert for more detailed information about the response - repeated Alert alerts = 3; + repeated cmp.types.v1.Alert alerts = 3; } message Alert { string message = 1; - AlertType type = 2; + cmp.types.v1.AlertType type = 2; } enum AlertType { diff --git a/proto/cmp/types/v1/credit_card.proto b/proto/cmp/types/v1/credit_card.proto index a002cde5..cea29c01 100644 --- a/proto/cmp/types/v1/credit_card.proto +++ b/proto/cmp/types/v1/credit_card.proto @@ -7,6 +7,6 @@ import "cmp/types/v1/date.proto"; message CreditCard { // FIXME: Can we use an int64 to represent a credit card number? string number = 1; - Date expiration_date = 2; + cmp.types.v1.Date expiration_date = 2; int32 cvc = 3; } diff --git a/proto/cmp/types/v1/description.proto b/proto/cmp/types/v1/description.proto index 2ab4e8cc..af0706db 100644 --- a/proto/cmp/types/v1/description.proto +++ b/proto/cmp/types/v1/description.proto @@ -10,10 +10,10 @@ import "cmp/types/v1/language.proto"; // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/description.proto.dot.svg) message LocalizedDescriptionSet { // Language - Language language = 1; + cmp.types.v1.Language language = 1; - // Desctription set - repeated Description descriptions = 2; + // Description set + repeated cmp.types.v1.Description descriptions = 2; } message Description { diff --git a/proto/cmp/types/v1/document.proto b/proto/cmp/types/v1/document.proto index ce87c687..fe035694 100644 --- a/proto/cmp/types/v1/document.proto +++ b/proto/cmp/types/v1/document.proto @@ -8,7 +8,7 @@ package cmp.types.v1; // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/document.proto.dot.svg) message Document { string document_number = 1; - DocumentType document_type = 2; + cmp.types.v1.DocumentType document_type = 2; } enum DocumentType { diff --git a/proto/cmp/types/v1/duration.proto b/proto/cmp/types/v1/duration.proto index 3c237f6c..9c149e8f 100644 --- a/proto/cmp/types/v1/duration.proto +++ b/proto/cmp/types/v1/duration.proto @@ -12,6 +12,6 @@ message Duration { // Duration range message that includes minimum and maximum duration. message DurationRange { - Duration min_duration = 1; - Duration max_duration = 2; + cmp.types.v1.Duration min_duration = 1; + cmp.types.v1.Duration max_duration = 2; } diff --git a/proto/cmp/types/v1/email.proto b/proto/cmp/types/v1/email.proto index 1f422c0d..4445a675 100644 --- a/proto/cmp/types/v1/email.proto +++ b/proto/cmp/types/v1/email.proto @@ -9,7 +9,7 @@ package cmp.types.v1; message Email { string address = 1; - EmailType type = 2; + cmp.types.v1.EmailType type = 2; string description = 3; } diff --git a/proto/cmp/types/v1/file.proto b/proto/cmp/types/v1/file.proto index ab4c05c6..9d9d89a6 100644 --- a/proto/cmp/types/v1/file.proto +++ b/proto/cmp/types/v1/file.proto @@ -19,7 +19,7 @@ message File { message Image { // file - File file = 1; + cmp.types.v1.File file = 1; // Width int32 width = 2; @@ -35,7 +35,7 @@ message Image { message Video { // File - File file = 1; + cmp.types.v1.File file = 1; // Codec of video string codec = 2; diff --git a/proto/cmp/types/v1/filter.proto b/proto/cmp/types/v1/filter.proto index 66c00546..cc0b83ee 100644 --- a/proto/cmp/types/v1/filter.proto +++ b/proto/cmp/types/v1/filter.proto @@ -31,7 +31,7 @@ message Filter { // A filter type can be set to for example "DRV GlobalTypes", "IATA codes", "UIC // codes", "ACRISS codes". - FilterType type = 3; + cmp.types.v1.FilterType type = 3; // Adding a filter value like for example "star_rating=5" or "row_number=1". string value = 4; diff --git a/proto/cmp/types/v1/link.proto b/proto/cmp/types/v1/link.proto index 4ff605aa..0b8949bc 100644 --- a/proto/cmp/types/v1/link.proto +++ b/proto/cmp/types/v1/link.proto @@ -10,7 +10,7 @@ message Link { // Link type // // Ex: "LG" or "TC" - LinkType type = 1; + cmp.types.v1.LinkType type = 1; // Link description // diff --git a/proto/cmp/types/v1/localized.proto b/proto/cmp/types/v1/localized.proto index 1c9b5f9d..9b6049de 100644 --- a/proto/cmp/types/v1/localized.proto +++ b/proto/cmp/types/v1/localized.proto @@ -6,5 +6,5 @@ import "cmp/types/v1/language.proto"; message LocalizedString { string text = 1; - Language language = 2; + cmp.types.v1.Language language = 2; } diff --git a/proto/cmp/types/v1/location.proto b/proto/cmp/types/v1/location.proto index 824822b8..555a8a75 100644 --- a/proto/cmp/types/v1/location.proto +++ b/proto/cmp/types/v1/location.proto @@ -36,7 +36,7 @@ message GeoPolygon { // and would require mapping for every connection. If possible use generic concepts, // so that implementations can easily be reused among suppliers. message GeoTree { - Country country = 1; + cmp.types.v1.Country country = 1; string region = 2; string city_or_resort = 3; } @@ -48,7 +48,7 @@ message GeoTree { // unique. message LocationCode { string code = 1; - LocationCodeType type = 2; + cmp.types.v1.LocationCodeType type = 2; } // Represents a list of `LocationCode` message type. We need to encapsulate repeated @@ -57,7 +57,7 @@ message LocationCode { // Protobuf `oneof` field type does not support repeated member fields. To get the // same functionality we need to wrap the needed message type with another message. message LocationCodes { - repeated LocationCode codes = 1; + repeated cmp.types.v1.LocationCode codes = 1; } // Location Code Type diff --git a/proto/cmp/types/v1/meal_plan.proto b/proto/cmp/types/v1/meal_plan.proto index 692bc2e4..d792e54e 100644 --- a/proto/cmp/types/v1/meal_plan.proto +++ b/proto/cmp/types/v1/meal_plan.proto @@ -10,7 +10,7 @@ message MealPlan { // Meal Plan Code // // Ex: `MealPlan.MEAL_PLAN_AI` for "All Inclusive" meal plan. - MealPlanCode code = 1; + cmp.types.v1.MealPlanCode code = 1; // Mealplan description. In case of enrichment additional description of the unit code. // diff --git a/proto/cmp/types/v1/measurement.proto b/proto/cmp/types/v1/measurement.proto index cb0982ce..e6543f6d 100644 --- a/proto/cmp/types/v1/measurement.proto +++ b/proto/cmp/types/v1/measurement.proto @@ -8,7 +8,7 @@ package cmp.types.v1; // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/measurement.proto.dot.svg) message Length { int32 value = 1; - LengthUnit unit = 2; + cmp.types.v1.LengthUnit unit = 2; } // Represents a dimension type, for example, to be used in baggage message type @@ -16,7 +16,7 @@ message Dimension { int32 length = 1; int32 width = 2; int32 height = 3; - LengthUnit unit = 4; + cmp.types.v1.LengthUnit unit = 4; } // Length Unit @@ -37,7 +37,7 @@ enum LengthUnit { // Ex: Used for weight in baggage message type message Weight { int32 value = 1; - WeightUnit unit = 2; + cmp.types.v1.WeightUnit unit = 2; } // Weight Unit diff --git a/proto/cmp/types/v1/partner.proto b/proto/cmp/types/v1/partner.proto index 09a06276..0af76deb 100644 --- a/proto/cmp/types/v1/partner.proto +++ b/proto/cmp/types/v1/partner.proto @@ -36,13 +36,13 @@ message Partner { // Supported tokens for payment (on-chain). If a TokenCurrency is specified, this // then means that on-chain payment is supported. - repeated TokenCurrency on_chain_currencies = 5; + repeated cmp.types.v1.TokenCurrency on_chain_currencies = 5; // Off chain payment support bool off_chain_payment_supported = 6; // Supported services - repeated PartnerService services = 7; + repeated cmp.types.v1.PartnerService services = 7; // Partner addresses of the messenger bots repeated cmp.types.v1.WalletAddress addresses = 8; @@ -59,7 +59,7 @@ message PartnerService { // Name of the service. // // FIXME: Should we include package name also here? If not, how should the bot - // suppossed to find the message? If yes, package name also includes the version + // supposed to find the message? If yes, package name also includes the version // which means partner will need to update supported services with every new // version. // @@ -84,10 +84,10 @@ message PartnerService { // Result Type. // // Ex: ResultType.RESULT_TYPE_DISCRETE - ResultType result_type = 4; + cmp.types.v1.ResultType result_type = 4; // Default bundled price for the service - BundledPrice bundled_price = 5; + cmp.types.v1.BundledPrice bundled_price = 5; // Exclusive bundled prices for specific addresses. // @@ -107,7 +107,7 @@ message CustomBundledPrice { string address = 1; // Bundled price that is exclusive to the wallet address above. - BundledPrice bundled_price = 2; + cmp.types.v1.BundledPrice bundled_price = 2; } // Bundled Price @@ -124,7 +124,7 @@ message BundledPrice { // Bundle Unit, represents the bundle's unit. For example for search results it // should be `BundleUnit.BUNDLE_UNIT_COUNT` or for AI Chat bot results it can be // `BundleUnit.BUNDLE_UNIT_BYTES` or `BundleUnit.BUNDLE_UNIT_KILOBYTES` - BundleUnit results_per_bundle_unit = 2; + cmp.types.v1.BundleUnit results_per_bundle_unit = 2; // Price per bundle, in nCAMs // diff --git a/proto/cmp/types/v1/payment.proto b/proto/cmp/types/v1/payment.proto index 1cc7f7b7..c0d85347 100644 --- a/proto/cmp/types/v1/payment.proto +++ b/proto/cmp/types/v1/payment.proto @@ -7,5 +7,5 @@ import "cmp/types/v1/credit_card.proto"; // Additional payment info message with currently only a single field of // `CreditCard` message type. message AdditionalPaymentInfo { - CreditCard credit_card = 1; + cmp.types.v1.CreditCard credit_card = 1; } diff --git a/proto/cmp/types/v1/phone.proto b/proto/cmp/types/v1/phone.proto index c9623c7a..3553a7b0 100644 --- a/proto/cmp/types/v1/phone.proto +++ b/proto/cmp/types/v1/phone.proto @@ -9,7 +9,7 @@ package cmp.types.v1; message Phone { string number = 1; - PhoneType type = 2; + cmp.types.v1.PhoneType type = 2; string description = 3; } diff --git a/proto/cmp/types/v1/price.proto b/proto/cmp/types/v1/price.proto index 94e50ffb..3719981e 100644 --- a/proto/cmp/types/v1/price.proto +++ b/proto/cmp/types/v1/price.proto @@ -17,7 +17,7 @@ import "cmp/types/v1/price_type.proto"; // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/price.proto.dot.svg) message PriceDetail { // Principle price element - Price price = 1; + cmp.types.v1.Price price = 1; // Identification whether the price must be respected towards the end-user // and the product or service cannot be offered for a lower price. @@ -35,10 +35,10 @@ message PriceDetail { // Type of price breakdown. This is meant to be used in price breakdown // definitions, when we want to specify the different elements of how a total // price was computed. - PriceBreakdownType type = 5; + cmp.types.v1.PriceBreakdownType type = 5; // We can use a single PriceDetail to represent a price breakdown. - repeated PriceDetail breakdowns = 6; + repeated cmp.types.v1.PriceDetail breakdowns = 6; } // ### Simple Price type message Price @@ -79,5 +79,5 @@ message PriceDetail { message Price { string value = 1; int32 decimals = 2; - Currency currency = 3; + cmp.types.v1.Currency currency = 3; } diff --git a/proto/cmp/types/v1/product_code.proto b/proto/cmp/types/v1/product_code.proto index 4481d0a7..ef6469ec 100644 --- a/proto/cmp/types/v1/product_code.proto +++ b/proto/cmp/types/v1/product_code.proto @@ -23,7 +23,7 @@ message ProductCode { // license fees directly with the respective organizations string code = 1; int32 number = 2; - ProductCodeType type = 3; + cmp.types.v1.ProductCodeType type = 3; } // Product Code type diff --git a/proto/cmp/types/v1/rate.proto b/proto/cmp/types/v1/rate.proto index 185729d4..a69230af 100644 --- a/proto/cmp/types/v1/rate.proto +++ b/proto/cmp/types/v1/rate.proto @@ -10,7 +10,7 @@ message RateRule { // RateRule // // The eneumeration for RateRuleType is meant for uniformed and standardized display. - RateRuleType rate_type = 1; + cmp.types.v1.RateRuleType rate_type = 1; // Rate description and reference. In case of enrichment additional description of the rate type. // Please omit if covered with the RateRuleType. @@ -37,7 +37,7 @@ message RatePlan { string rate_plan_code = 1; // Rateplan type standardization - RatePlanType rate_plan_type = 2; + cmp.types.v1.RatePlanType rate_plan_type = 2; // Rateplan description. In case of enrichment additional description of the rate plan. // diff --git a/proto/cmp/types/v1/search.proto b/proto/cmp/types/v1/search.proto index f5f7eb0b..1d855267 100644 --- a/proto/cmp/types/v1/search.proto +++ b/proto/cmp/types/v1/search.proto @@ -17,14 +17,14 @@ import "cmp/types/v1/uuid.proto"; message SearchParameters { // Requested currency in which prices have to be supplied in the response // according to ISO 4217 Currency codes - Currency currency = 1; + cmp.types.v1.Currency currency = 1; // Requested language setting for descriptions in the response according to ISO // 639-1 Language codes - Language language = 2; + cmp.types.v1.Language language = 2; // Request generated for a specific market according to ISO 3166-1 Country codes - Country market = 3; + cmp.types.v1.Country market = 3; // Request generated for a specific brand or point-of-sale by one distributor // Specify one or more brand codes or distribution channels for which assigned @@ -42,11 +42,11 @@ message SearchParameters { int32 max_options = 7; // Specify the sorting required in the response - Sorting sorting = 8; + cmp.types.v1.Sorting sorting = 8; // Filters for the search. Various provider and product specific filters can be // provided here in agreed name/value pairs. - repeated Filter filters = 9; + repeated cmp.types.v1.Filter filters = 9; // Free-text field to provide more detials for better offer personalization. This // field can be provided in combination with a Geo location or as stand-alone. @@ -62,13 +62,13 @@ message SearchParameters { // Ex: ContentSourceType.CONTENT_SOURCE_TYPE_GDS, // ContentSourceType.CONTENT_SOURCE_TYPE_NDC // ContentSourceType.CONTENT_SOURCE_TYPE_3RD_PARTY - repeated ContentSourceType content_source_types = 11; + repeated cmp.types.v1.ContentSourceType content_source_types = 11; } // This message type is used in every search request to contain the request metadata message SearchRequestMetadata { // Request unique identifier - UUID request_id = 1; + cmp.types.v1.UUID request_id = 1; // An identifier for external sessions, aiding in tracking and continuity across // sessions. @@ -79,7 +79,7 @@ message SearchRequestMetadata { message SearchResponseMetadata { // Search_id to be used in the Validation Request. This must be a UUID according // to RFC 4122 - UUID search_id = 1; + cmp.types.v1.UUID search_id = 1; // Context for Inventory system concepts that need to be included in a search response, // like an OwnerCode, PTC_OfferParameters, Tax codes, Disclosure RefID, etc. or a @@ -107,7 +107,7 @@ message SearchResponseMetadata { message SearchIdentifier { // Search ID that is returned in the search response message in the `metadata`` // (`SearchResponseMetadata`) field. - UUID search_id = 1; + cmp.types.v1.UUID search_id = 1; // Result ID that is that is returned by `result_id` field of the search result // messages, for example: `AccommodationSearchResult`. diff --git a/proto/cmp/types/v1/seat_map.proto b/proto/cmp/types/v1/seat_map.proto index 45bdefea..f2b46533 100644 --- a/proto/cmp/types/v1/seat_map.proto +++ b/proto/cmp/types/v1/seat_map.proto @@ -18,18 +18,18 @@ message Seat { // The location of the seat within the seat map. This can be defined using either // a vector (SVG) or bitmap format. - SeatLocation location = 2; + cmp.types.v1.SeatLocation location = 2; // Static features associated with the seat, such as type, amenities, etc. - repeated LocalizedSeatAttributeSet features = 3; + repeated cmp.types.v1.LocalizedSeatAttributeSet features = 3; // Restrictions associated with the seat, such as age limits or accessibility requirements. - repeated LocalizedSeatAttributeSet restrictions = 4; + repeated cmp.types.v1.LocalizedSeatAttributeSet restrictions = 4; } // List of seats message SeatList { - repeated Seat seats = 1; + repeated cmp.types.v1.Seat seats = 1; } // A Section represents a distinct area within a venue, which can be defined by @@ -48,7 +48,7 @@ message Section { // Seats in this section. oneof seat_info { // List of seats in this section. - SeatList seat_list = 3; + cmp.types.v1.SeatList seat_list = 3; // Total number of seats in this section as an integer. google.protobuf.Int32Value total_seats = 4; @@ -68,7 +68,7 @@ message Section { // Nested sections within this section, allowing for a hierarchical representation // of the venue's layout. - repeated Section sections = 7; + repeated cmp.types.v1.Section sections = 7; } // High-level representation of a seat map, which defines the layout and structure @@ -85,7 +85,7 @@ message SeatMap { // within the venue, such as rows, sections, levels, or blocks of seats. This // field is recursive, allowing for hierarchical structuring of the seating // layout. - repeated Section sections = 2; + repeated cmp.types.v1.Section sections = 2; // Image that provides a visual representation of the seat map, illustrating the // location and arrangement of seats. The image can be in vector format (SVG) or @@ -114,7 +114,7 @@ message SectionInventory { oneof seat_info { // List of individual seat IDs within this section. - SeatInventory seat_list = 2; + cmp.types.v1.SeatInventory seat_list = 2; // Seat count in this section, representing either the remaining seats for // availability purposes or the selected seats for seat selection messages. @@ -127,7 +127,7 @@ message SectionInventory { // Nested inner sections within this section, allowing for a hierarchical // representation of seat inventory. Each inner section can have its own seat // information and further nested sections. - repeated SectionInventory sections = 4; + repeated cmp.types.v1.SectionInventory sections = 4; } // Represents the inventory of seats for a specific seat map, used for both seat @@ -141,12 +141,12 @@ message SeatMapInventory { // A list of seat inventories for each section within the seat map. This field // includes detailed seat information and supports nested sections, allowing for a // hierarchical representation of the seating arrangement. - repeated SectionInventory sections = 2; + repeated cmp.types.v1.SectionInventory sections = 2; } message LocalizedSeatAttributeSet { - Language language = 1; - repeated SeatAttribute seat_attributes = 2; + cmp.types.v1.Language language = 1; + repeated cmp.types.v1.SeatAttribute seat_attributes = 2; } /* Helper messages */ @@ -180,7 +180,7 @@ enum AreaType { // is generally used with the HTML `area` tag to specify clickable regions. message BitmapSeatLocation { // The type of area defining the seat location, such as rectangle, circle, or polygon. - AreaType type = 1; + cmp.types.v1.AreaType type = 1; // Coordinates defining the area. The format of the coordinates depends on the // area type (e.g., top-left (x1,y1) and bottom-right (x2,y2) corners for a @@ -202,9 +202,9 @@ message SeatLocation { // One of the possible seat location types: vector (SVG) or bitmap. oneof location { // Vector-based seat location, used for SVG maps. - VectorSeatLocation vector = 1; + cmp.types.v1.VectorSeatLocation vector = 1; // Bitmap-based seat location, used for HTML image maps. - BitmapSeatLocation bitmap = 2; + cmp.types.v1.BitmapSeatLocation bitmap = 2; } } diff --git a/proto/cmp/types/v1/service_fact.proto b/proto/cmp/types/v1/service_fact.proto index 62f6d705..394e3c19 100644 --- a/proto/cmp/types/v1/service_fact.proto +++ b/proto/cmp/types/v1/service_fact.proto @@ -30,26 +30,26 @@ message ServiceFact { string description = 2; // the price and price breakdown of the service - PriceDetail price_detail = 3; + cmp.types.v1.PriceDetail price_detail = 3; // whether the service is included, optional or compulsory. When a price is // mentioned and the service is included, then the price of the service is already // included in the total price of this option and it is better to omit the // price_detail field. In case of an optional or compulsory service, the service // must be specifically be booked and the price is added to the total price. - ServiceAvailabilityType availability_type = 4; + cmp.types.v1.ServiceAvailabilityType availability_type = 4; // The ChargeBasisType specifies whether this service is only charged once for the // whole booking, for each participant, for each room or flight etc, for each day // or for a combination of these concepts like for example "foreign distilleries // per participant per day" or just once in case of a massage, but you would be // able to order 3 of them in the booking. - ChargeBasisType charge_basis = 5; + cmp.types.v1.ChargeBasisType charge_basis = 5; // We can use a single ServiceFact to express just one service. But many services // are actually a combination of several services, like the typical // priority boarding, which also allows for a larger carry-on bag. - repeated ServiceFact details = 6; + repeated cmp.types.v1.ServiceFact details = 6; // the count of the number of services. In case the service requires specification // of the number or frequency of the products that will be included. For example diff --git a/proto/cmp/types/v1/sorting.proto b/proto/cmp/types/v1/sorting.proto index b998069e..30770e34 100644 --- a/proto/cmp/types/v1/sorting.proto +++ b/proto/cmp/types/v1/sorting.proto @@ -9,8 +9,8 @@ package cmp.types.v1; // ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/sorting.proto.dot.xs.svg) // [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/sorting.proto.dot.svg) message Sorting { - SortingType sorting_type = 1; - SortingOrder sorting_order = 2; + cmp.types.v1.SortingType sorting_type = 1; + cmp.types.v1.SortingOrder sorting_order = 2; } // Sorting type diff --git a/proto/cmp/types/v1/traveller.proto b/proto/cmp/types/v1/traveller.proto index 3aeff4cb..92abd079 100644 --- a/proto/cmp/types/v1/traveller.proto +++ b/proto/cmp/types/v1/traveller.proto @@ -23,7 +23,7 @@ message BasicTraveller { int32 traveller_id = 1; // Traveller type from enum below - TravellerType type = 2; + cmp.types.v1.TravellerType type = 2; // Birthdate cmp.types.v1.Date birthdate = 3; @@ -47,7 +47,7 @@ message ExtensiveTraveller { int32 traveller_id = 1; // Gender from the enum below - GenderType gender = 2; + cmp.types.v1.GenderType gender = 2; // Many systems might just have one field for all first names and just one field // for all surnames of a traveller. However, we see many countries with many