From ab5951229aec3c38a547374b55b2aba00f4be860 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 21 Jul 2025 19:56:08 +0300 Subject: [PATCH] Update proto definitions --- ozon/products.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ozon/products.proto b/ozon/products.proto index a9f8ec5..ebc168b 100644 --- a/ozon/products.proto +++ b/ozon/products.proto @@ -32,22 +32,27 @@ message Product { Stocks stocks = 3; repeated string barcodes = 4; Status statuses = 5; + repeated Error errors = 6; message Status { string status_name = 1; } - message Stocks{ repeated Stock stocks = 1; bool has_stock = 2; } + message Stock{ int64 present = 1; int64 reserved = 2; int64 SKU = 3; string source = 4; } + + message Error{ + string code = 1; + } }