Update proto definitions

This commit is contained in:
2025-07-22 21:37:23 +03:00
parent c1293d3afe
commit 6d62cd6bfe

View File

@@ -37,6 +37,26 @@ message GetProductAttributesResponse {
}
message DeleteProductsRequest {
message Item {
int64 product_id = 1;
string offer_id = 2;
}
repeated Item items = 1;
}
message DeleteProductsResponse {
message Item {
int64 product_id = 1;
string offer_id = 2;
bool is_deleted = 3;
}
repeated Item items = 1;
}
message Product {
int64 id = 1;
string offer_id = 2;
@@ -106,23 +126,24 @@ message ProductAttributes {
repeated Values values = 3;
}
int64 id = 1;
string barcode = 2;
string name = 4;
string offer_id = 5;
int64 type_id = 6;
int64 height = 7;
int64 depth = 8;
int64 width = 9;
string dimension_unit = 10;
int64 weight = 11;
string weight_unit = 12;
string primary_image = 13;
Model_info model_info = 15;
repeated string images = 16;
repeated string pdf_list = 17;
repeated Attributes attributes = 18;
repeated int64 attributes_with_defaults = 19;
string color_image = 21;
int64 description_category_id = 22;
int64 id = 1;
string barcode = 2;
string name = 4;
string offer_id = 5;
int64 type_id = 6;
int64 height = 7;
int64 depth = 8;
int64 width = 9;
string dimension_unit = 10;
int64 weight = 11;
string weight_unit = 12;
string primary_image = 13;
Model_info model_info = 15;
repeated string images = 16;
repeated string pdf_list = 17;
repeated Attributes attributes = 18;
repeated int64 attributes_with_defaults = 19;
string color_image = 21;
int64 description_category_id = 22;
}