diff --git a/proto/cmp/services/activity/v1alpha1/search_parameters_types.proto b/proto/cmp/services/activity/v1alpha1/search_parameters_types.proto index cc3fd989..abbcb9e8 100644 --- a/proto/cmp/services/activity/v1alpha1/search_parameters_types.proto +++ b/proto/cmp/services/activity/v1alpha1/search_parameters_types.proto @@ -5,6 +5,7 @@ package cmp.services.activity.v1alpha1; import "cmp/types/v1alpha1/language.proto"; import "cmp/types/v1alpha1/time.proto"; import "cmp/types/v1alpha1/price.proto"; +import "cmp/types/v1alpha1/product_code.proto"; // ### Activity Search Parameters // @@ -21,7 +22,7 @@ message ActivitySearchParameters { // Specify one or more product codes to be included in the search response // // Ex: "TC000000" - repeated string product_code = 2; + repeated cmp.types.v1alpha1.ProductCode product_codes = 2; // Specify one or more activity IDs to be included in the search response // diff --git a/proto/cmp/services/transport/v1alpha1/search_parameters_types.proto b/proto/cmp/services/transport/v1alpha1/search_parameters_types.proto index a2c7a21b..abf1ca09 100644 --- a/proto/cmp/services/transport/v1alpha1/search_parameters_types.proto +++ b/proto/cmp/services/transport/v1alpha1/search_parameters_types.proto @@ -4,6 +4,7 @@ package cmp.services.transport.v1alpha1; import "cmp/types/v1alpha1/time.proto"; import "cmp/types/v1alpha1/price.proto"; +import "cmp/types/v1alpha1/product_code.proto"; // ### Transport Search Parameters // @@ -12,7 +13,7 @@ import "cmp/types/v1alpha1/price.proto"; message TransportSearchParameters { // Specify one or more type codes to be included in the search response // Ex: "SF" - repeated string product_code = 1; + repeated cmp.types.v1alpha1.ProductCode product_codes = 1; // Duration // Specify the minimal and maximum duration of an activity to be included in the search response