Update proto definitions
This commit is contained in:
		@@ -10,6 +10,7 @@ service ProductsService {
 | 
			
		||||
  rpc GetProductPrice(GetProductPriceRequest) returns (stream GetProductPriceResponse);
 | 
			
		||||
  rpc GetProductAttributes(GetProductAttributesRequest) returns (stream GetProductAttributesResponse);
 | 
			
		||||
  rpc DeleteProducts(DeleteProductsRequest) returns (DeleteProductsResponse);
 | 
			
		||||
  rpc CreateOrUpdateProducts(CreateOrUpdateProductsRequest) returns (CreateOrUpdateProductsResponse);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message GetListOfProductsRequest{
 | 
			
		||||
@@ -58,6 +59,55 @@ message DeleteProductsResponse {
 | 
			
		||||
  repeated Item items = 2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message CreateOrUpdateProductsRequest{
 | 
			
		||||
  message Item {
 | 
			
		||||
    message Values {
 | 
			
		||||
      int64 dictionary_value_id = 1;
 | 
			
		||||
      string value = 2;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    message Attributes {
 | 
			
		||||
      int64 complex_id = 1;
 | 
			
		||||
      int64 id = 2;
 | 
			
		||||
      repeated Values values = 3;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    message Promotions {
 | 
			
		||||
      string operation = 1;
 | 
			
		||||
      string type = 2;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    repeated Attributes attributes = 1;
 | 
			
		||||
    string barcode = 2;
 | 
			
		||||
    int64 description_category_id = 3;
 | 
			
		||||
    int64 new_description_category_id = 4;
 | 
			
		||||
    string color_image = 5;
 | 
			
		||||
    string currency_code = 7;
 | 
			
		||||
    int64 depth = 8;
 | 
			
		||||
    string dimension_unit = 9;
 | 
			
		||||
    int64 height = 10;
 | 
			
		||||
    repeated string images = 11;
 | 
			
		||||
    repeated string images360 = 12;
 | 
			
		||||
    string name = 13;
 | 
			
		||||
    string offer_id = 14;
 | 
			
		||||
    string old_price = 15;
 | 
			
		||||
    repeated string pdf_list = 16;
 | 
			
		||||
    string price = 17;
 | 
			
		||||
    string primary_image = 18;
 | 
			
		||||
    repeated Promotions promotions = 19;
 | 
			
		||||
    int64 type_id = 20;
 | 
			
		||||
    string vat = 21;
 | 
			
		||||
    int64 weight = 22;
 | 
			
		||||
    string weight_unit = 23;
 | 
			
		||||
    int64 width = 24;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  repeated Item items = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message CreateOrUpdateProductsResponse{
 | 
			
		||||
  string task_id = 1;
 | 
			
		||||
}
 | 
			
		||||
message Product {
 | 
			
		||||
  int64 id = 1;
 | 
			
		||||
  string offer_id = 2;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user