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 {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user