Update proto definitions
This commit is contained in:
@@ -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 {
|
message Product {
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
string offer_id = 2;
|
string offer_id = 2;
|
||||||
@@ -106,23 +126,24 @@ message ProductAttributes {
|
|||||||
repeated Values values = 3;
|
repeated Values values = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
string barcode = 2;
|
string barcode = 2;
|
||||||
string name = 4;
|
string name = 4;
|
||||||
string offer_id = 5;
|
string offer_id = 5;
|
||||||
int64 type_id = 6;
|
int64 type_id = 6;
|
||||||
int64 height = 7;
|
int64 height = 7;
|
||||||
int64 depth = 8;
|
int64 depth = 8;
|
||||||
int64 width = 9;
|
int64 width = 9;
|
||||||
string dimension_unit = 10;
|
string dimension_unit = 10;
|
||||||
int64 weight = 11;
|
int64 weight = 11;
|
||||||
string weight_unit = 12;
|
string weight_unit = 12;
|
||||||
string primary_image = 13;
|
string primary_image = 13;
|
||||||
Model_info model_info = 15;
|
Model_info model_info = 15;
|
||||||
repeated string images = 16;
|
repeated string images = 16;
|
||||||
repeated string pdf_list = 17;
|
repeated string pdf_list = 17;
|
||||||
repeated Attributes attributes = 18;
|
repeated Attributes attributes = 18;
|
||||||
repeated int64 attributes_with_defaults = 19;
|
repeated int64 attributes_with_defaults = 19;
|
||||||
string color_image = 21;
|
string color_image = 21;
|
||||||
int64 description_category_id = 22;
|
int64 description_category_id = 22;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user