Skip to content

Commit

Permalink
buf lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t committed Oct 18, 2024
1 parent fcf8e57 commit aa8f29e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion proto/cmp/services/accommodation/v3/property_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import "cmp/types/v1/description.proto";
import "cmp/types/v1/meal_plan.proto";
import "cmp/types/v1/product_status.proto";
import "cmp/types/v2/contact_info.proto";
import "cmp/types/v3/file.proto";
import "cmp/types/v2/location.proto";
import "cmp/types/v2/product_code.proto";
import "cmp/types/v2/service_fact.proto";
import "cmp/types/v3/file.proto";
import "cmp/types/v3/traveller.proto";
import "google/protobuf/timestamp.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/cmp/services/accommodation/v3/search.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ syntax = "proto3";
// This package is a **WIP**.
package cmp.services.accommodation.v3;

import "cmp/services/accommodation/v3/search_query_types.proto";
import "cmp/services/accommodation/v2/search_result_types.proto";
import "cmp/services/accommodation/v3/search_query_types.proto";
import "cmp/types/v1/common.proto";
import "cmp/types/v2/search.proto";
import "cmp/types/v3/traveller.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/cmp/services/activity/v3/activity_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import "cmp/types/v1/language.proto";
import "cmp/types/v1/redemption.proto";
import "cmp/types/v2/address.proto";
import "cmp/types/v2/contact_info.proto";
import "cmp/types/v3/file.proto";
import "cmp/types/v2/location.proto";
import "cmp/types/v2/product_code.proto";
import "cmp/types/v3/file.proto";
import "google/protobuf/timestamp.proto";

// Activity
Expand Down
2 changes: 1 addition & 1 deletion proto/cmp/services/book/v3/mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package cmp.services.book.v3;

import "cmp/types/v1/common.proto";
import "cmp/types/v1/language.proto";
import "cmp/types/v2/payment.proto";
import "cmp/types/v1/pubkey.proto";
import "cmp/types/v1/uuid.proto";
import "cmp/types/v2/payment.proto";
import "cmp/types/v2/price.proto";
import "cmp/types/v3/traveller.proto";
import "google/protobuf/timestamp.proto";
Expand Down
22 changes: 11 additions & 11 deletions proto/cmp/services/insurance/v2/insurance_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package cmp.services.insurance.v2;
import "cmp/types/v1/inclusivity.proto";
import "cmp/types/v1/link.proto";
import "cmp/types/v2/contact_info.proto";
import "cmp/types/v3/file.proto";
import "cmp/types/v2/price.proto";
import "cmp/types/v2/product_code.proto";
import "cmp/types/v3/file.proto";
import "google/protobuf/timestamp.proto";

// Insurance
Expand All @@ -26,7 +26,7 @@ message Insurance {
string external_session_id = 2;

// List of insurance policies
repeated cmp.services.insurance.v1.Policy policies = 3;
repeated cmp.services.insurance.v2.Policy policies = 3;
}

message Policy {
Expand All @@ -47,7 +47,7 @@ message Policy {

message PolicyExtendedInfo {
// Insurance Policy dynamic info
cmp.services.insurance.v1.Policy policy = 1;
cmp.services.insurance.v2.Policy policy = 1;

// Carrier code, this provider is the holder of the policy and not a supplier to the Camino Network
string carrier_code = 2;
Expand All @@ -59,19 +59,19 @@ message PolicyExtendedInfo {
cmp.types.v3.Image logo = 4;

// Enum of possible types, to be used for filtering
cmp.services.insurance.v1.PolicyType policy_type = 5;
cmp.services.insurance.v2.PolicyType policy_type = 5;

// Support contact
cmp.types.v2.ContactInfo support_contact = 6;

// Criteria
repeated cmp.services.insurance.v1.PolicyCriteria criteria = 7;
repeated cmp.services.insurance.v2.PolicyCriteria criteria = 7;

// Units
repeated cmp.services.insurance.v1.PolicyUnit units = 8;
repeated cmp.services.insurance.v2.PolicyUnit units = 8;

// Services
repeated cmp.services.insurance.v1.PolicyService services = 9;
repeated cmp.services.insurance.v2.PolicyService services = 9;
}

message PolicyCriteria {
Expand All @@ -90,7 +90,7 @@ message PolicyUnit {
string name = 2;

// Coverage details
cmp.services.insurance.v1.PolicyCoverage policy_coverage = 4;
cmp.services.insurance.v2.PolicyCoverage policy_coverage = 4;
}

message PolicyService {
Expand All @@ -104,7 +104,7 @@ message PolicyService {
repeated string unit_codes = 3;

// Coverage details
cmp.services.insurance.v1.PolicyCoverage policy_coverage = 4;
cmp.services.insurance.v2.PolicyCoverage policy_coverage = 4;
}

enum PolicyType {
Expand Down Expand Up @@ -148,9 +148,9 @@ message InsuredBooking {
// Location of insured booking: on-chain or off-chain
oneof location {
// On-Chain booking
cmp.services.insurance.v1.OnChainBooking on_chain = 1;
cmp.services.insurance.v2.OnChainBooking on_chain = 1;
// Off-Chain booking
cmp.services.insurance.v1.OffChainBooking off_chain = 2;
cmp.services.insurance.v2.OffChainBooking off_chain = 2;
}
}

Expand Down
2 changes: 1 addition & 1 deletion proto/cmp/services/insurance/v2/search.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ syntax = "proto3";
// This finally leads to an acceptance and pay-out or a denial.
package cmp.services.insurance.v2;

import "cmp/services/insurance/v2/search_query_types.proto";
import "cmp/services/insurance/v1/search_result_types.proto";
import "cmp/services/insurance/v2/search_query_types.proto";
import "cmp/types/v1/common.proto";
import "cmp/types/v2/search.proto";
import "cmp/types/v3/traveller.proto";
Expand Down

0 comments on commit aa8f29e

Please sign in to comment.