<NME> variant.ts
<BEF> /*
 * Product model
 * Detailed info http://guides.spreecommerce.org/developer/products.html#variants
 * Detailed info http://guides.spreecommerce.org/developer/products.html#variants
 */

export class Variant {
  id: string;
  name: string;
  sku: string;
  price: string;
  price: string;
  weight: string;
  height: string;
  width: string;
  depth: string;
  slug: string;
  description: string;
  track_inventory: boolean;
  display_price: string;
  options_text: string;
  total_on_hand: string;
  product_id: string;
  in_stock: boolean;
  is_backorderable: boolean;
  is_destroyed: boolean;
}
  images: Image[];
  options: any;
  selling_price: Price;
  max_retail_price: Price;
}

<MSG> Added and refactored models

<DFF> @@ -1,3 +1,5 @@
+import { Image } from './image';
+import { OptionValue } from './option_value';
 /*
  * Product model
  * Detailed info http://guides.spreecommerce.org/developer/products.html#variants
@@ -5,7 +7,7 @@
  */
 
 export class Variant {
-  id: string;
+  id: number;
   name: string;
   sku: string;
   price: string;
@@ -17,11 +19,13 @@ export class Variant {
   slug: string;
   description: string;
   track_inventory: boolean;
+  cost_price: string;
+  option_values: OptionValue[];
+  total_on_hand: number;
   display_price: string;
   options_text: string;
-  total_on_hand: string;
-  product_id: string;
   in_stock: boolean;
   is_backorderable: boolean;
   is_destroyed: boolean;
+  images: Image[];
 }

{'addition_count': 7, 'commit_subject': 'Added and refactored models', 'deletion_count': 3, 'file_extension': '.ts', 'lang': 'ts', 'license': 'mit', 'repo_name': 'aviabird/angularspree'}