From 342baf25e75c1b2cbcb416d33e21b8e775069fba Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 22 Jul 2025 02:41:48 +0300 Subject: [PATCH] Update proto definitions --- ozon/products.proto | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/ozon/products.proto b/ozon/products.proto index fbfd078..dfa9e45 100644 --- a/ozon/products.proto +++ b/ozon/products.proto @@ -83,50 +83,45 @@ message ProductPrice { double sales_percent_fbs = 12; } - uint32 acquiring = 1; + int64 acquiring = 1; Commissions commissions = 2; string offer_id = 4; - uint32 product_id = 7; + int64 product_id = 7; } message ProductAttributes { message Model_info { - uint32 model_id = 1; - uint32 count = 2; + int64 model_id = 1; + int64 count = 2; } message Values { - uint32 dictionary_value_id = 1; + int64 dictionary_value_id = 1; string value = 2; } message Attributes { - uint32 id = 1; - uint32 complex_id = 2; + int64 id = 1; + int64 complex_id = 2; repeated Values values = 3; } - message Result { - uint32 id = 1; + int64 id = 1; string barcode = 2; - repeated string barcodes = 3; string name = 4; string offer_id = 5; - uint32 type_id = 6; - uint32 height = 7; - uint32 depth = 8; - uint32 width = 9; + int64 type_id = 6; + int64 height = 7; + int64 depth = 8; + int64 width = 9; string dimension_unit = 10; - uint32 weight = 11; + int64 weight = 11; string weight_unit = 12; string primary_image = 13; - uint32 sku = 14; Model_info model_info = 15; repeated string images = 16; - repeated string pdf_list = 17; repeated Attributes attributes = 18; - repeated uint32 attributes_with_defaults = 19; + repeated int64 attributes_with_defaults = 19; string color_image = 21; - uint32 description_category_id = 22; - } + int64 description_category_id = 22; } \ No newline at end of file