Skip to content

Commit

Permalink
move loyalty program to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t committed Sep 23, 2024
1 parent ecdd74b commit 30a2cff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions proto/cmp/services/insurance/v1/search_parameters_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cmp/services/insurance/v1/insurance_types.proto";
import "cmp/types/v1/travel_period.proto";
import "cmp/types/v2/country.proto";
import "cmp/types/v2/currency.proto";
import "cmp/types/v2/loyalty_program.proto";
import "cmp/types/v1/loyalty_program.proto";
import "cmp/types/v2/product_code.proto";
import "cmp/types/v2/traveller.proto";

Expand Down Expand Up @@ -44,5 +44,5 @@ message InsuranceSearchParameters {
repeated cmp.types.v2.BasicTraveller travellers = 9;

// Loyalty Program
cmp.types.v2.LoyaltyProgram loyalty_program = 10;
cmp.types.v1.LoyaltyProgram loyalty_program = 10;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
syntax = "proto3";

package cmp.types.v2;
package cmp.types.v1;

import "cmp/types/v1/link.proto";

Expand All @@ -14,7 +14,7 @@ message LoyaltyProgram {
// Smart Contract address of a loyalty program
string contract_address = 1;
// Off-chain loyalty program
OffChainLoyaltyProgram off_chain_loyalty = 2;
cmp.types.v1.OffChainLoyaltyProgram off_chain_loyalty = 2;
}

// Official name of the loyalty program that might be required to map
Expand Down

0 comments on commit 30a2cff

Please sign in to comment.