From b001756afd7eeff05edf4579e180fc9f40d5f36b Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Wed, 13 Nov 2024 13:39:12 +0100 Subject: [PATCH] fix(proto): add required imports --- packages/protos/io/restorecommerce/customer.proto | 1 - packages/protos/io/restorecommerce/discount.proto | 2 ++ packages/protos/io/restorecommerce/product.proto | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/protos/io/restorecommerce/customer.proto b/packages/protos/io/restorecommerce/customer.proto index ac02361e..27b7ab18 100644 --- a/packages/protos/io/restorecommerce/customer.proto +++ b/packages/protos/io/restorecommerce/customer.proto @@ -5,7 +5,6 @@ package io.restorecommerce.customer; import "io/restorecommerce/resource_base.proto"; import "io/restorecommerce/meta.proto"; import "io/restorecommerce/auth.proto"; -import "io/restorecommerce/attribute.proto"; import "io/restorecommerce/status.proto"; import "io/restorecommerce/setting.proto"; import "io/restorecommerce/options.proto"; diff --git a/packages/protos/io/restorecommerce/discount.proto b/packages/protos/io/restorecommerce/discount.proto index 80628cee..cf746075 100644 --- a/packages/protos/io/restorecommerce/discount.proto +++ b/packages/protos/io/restorecommerce/discount.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package io.restorecommerce.dicount; +import "google/protobuf/timestamp.proto"; + import "io/restorecommerce/resource_base.proto"; import "io/restorecommerce/meta.proto"; import "io/restorecommerce/auth.proto"; diff --git a/packages/protos/io/restorecommerce/product.proto b/packages/protos/io/restorecommerce/product.proto index 1c897792..a700ee80 100644 --- a/packages/protos/io/restorecommerce/product.proto +++ b/packages/protos/io/restorecommerce/product.proto @@ -3,6 +3,8 @@ syntax = "proto3"; package io.restorecommerce.product; import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; + import "io/restorecommerce/resource_base.proto"; import "io/restorecommerce/meta.proto"; import "io/restorecommerce/image.proto"; @@ -186,7 +188,7 @@ message PhysicalVariant { optional string parent_variant_id = 9; repeated io.restorecommerce.property.Property properties = 10; repeated string tax_ids = 11; - optional boolean active = 12; + optional bool active = 12; optional google.protobuf.Timestamp valid_from = 13; optional google.protobuf.Timestamp valid_to = 14; optional Package package = 15; // size for shipping @@ -204,7 +206,7 @@ message ServiceVariant { optional string parent_variant_id = 9; repeated io.restorecommerce.property.Property properties = 10; repeated string tax_ids = 11; - optional boolean active = 12; + optional bool active = 12; optional google.protobuf.Timestamp valid_from = 13; optional google.protobuf.Timestamp valid_to = 14; } @@ -221,7 +223,7 @@ message VirtualVariant { optional string parent_variant_id = 9; repeated io.restorecommerce.property.Property properties = 10; repeated string tax_ids = 11; - optional boolean active = 12; + optional bool active = 12; optional google.protobuf.Timestamp valid_from = 13; optional google.protobuf.Timestamp valid_to = 14; }