Update proto definitions
This commit is contained in:
		@@ -32,22 +32,27 @@ message Product {
 | 
				
			|||||||
  Stocks stocks = 3;
 | 
					  Stocks stocks = 3;
 | 
				
			||||||
  repeated string barcodes = 4;
 | 
					  repeated string barcodes = 4;
 | 
				
			||||||
  Status statuses = 5;
 | 
					  Status statuses = 5;
 | 
				
			||||||
 | 
					  repeated Error errors = 6;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  message Status {
 | 
					  message Status {
 | 
				
			||||||
    string status_name = 1;
 | 
					    string status_name = 1;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
  message Stocks{
 | 
					  message Stocks{
 | 
				
			||||||
    repeated Stock stocks = 1;
 | 
					    repeated Stock stocks = 1;
 | 
				
			||||||
    bool has_stock = 2;
 | 
					    bool has_stock = 2;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  message Stock{
 | 
					  message Stock{
 | 
				
			||||||
    int64 present = 1;
 | 
					    int64 present = 1;
 | 
				
			||||||
    int64 reserved = 2;
 | 
					    int64 reserved = 2;
 | 
				
			||||||
    int64 SKU = 3;
 | 
					    int64 SKU = 3;
 | 
				
			||||||
    string source = 4;
 | 
					    string source = 4;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  message Error{
 | 
				
			||||||
 | 
					    string code = 1;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user