Update proto definitions
This commit is contained in:
@@ -18,10 +18,27 @@ message Product {
|
||||
string techSize = 3;
|
||||
string wbSize = 4;
|
||||
}
|
||||
message Characteristic{
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
bytes value = 3;
|
||||
}
|
||||
message Photo {
|
||||
string big = 1;
|
||||
}
|
||||
message Dimensions {
|
||||
int64 length = 1;
|
||||
int64 width = 2;
|
||||
float weightBrutto = 3;
|
||||
bool isValid = 4;
|
||||
}
|
||||
int64 nmID = 1;
|
||||
int64 subjectID = 2;
|
||||
string vendor_code = 3;
|
||||
repeated Size sizes = 4;
|
||||
repeated Characteristic characteristics = 5;
|
||||
repeated Photo photos = 6;
|
||||
Dimensions dimensions = 7;
|
||||
}
|
||||
message GetProductsResponse {
|
||||
repeated Product products = 1;
|
||||
|
||||
Reference in New Issue
Block a user