From d37866d587baad705669814f4734f9abe3e376a5 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 3 Jul 2025 10:51:27 +0300 Subject: [PATCH] Update proto definitions --- wb/products.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/wb/products.proto b/wb/products.proto index c990ddd..d798445 100644 --- a/wb/products.proto +++ b/wb/products.proto @@ -3,4 +3,23 @@ package wb.products; option go_package = "./wb/products"; service ProductsService { + rpc GetProducts(GetProductsRequest) returns (stream GetProductsResponse); +} + +message GetProductsRequest { + int64 marketplace_id = 1; + +} + +message Product { + message Size{ + repeated string skus = 1; + } + int64 nm_id = 1; + int64 subject_id = 2; + string vendor_code = 3; + repeated Size sizes = 4; +} +message GetProductsResponse { + repeated Product products = 1; } \ No newline at end of file