@chopkola/common 1.0.178 → 1.0.179

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,21 +168,23 @@ export interface VendorLite {
168
168
  logo_url: string | null;
169
169
  }
170
170
  export interface InventoryItemAggregate {
171
- id: UUID;
171
+ id?: UUID;
172
172
  vendor_id: UUID;
173
173
  product_id: UUID | null;
174
174
  product_variant_id: UUID | null;
175
- sku: string | null;
175
+ sku: string;
176
176
  price: number;
177
- discount_price: number | null;
178
- currency: string;
179
- quantity_available: number;
180
- low_stock_threshold: number | null;
181
- stock_status: string;
177
+ cost_price: number;
178
+ sale_price: number;
179
+ quantity: number;
180
+ low_stock_threshold: number;
181
+ stock_status: StockStatusEnum;
182
+ is_trackable: boolean;
182
183
  is_visible: boolean;
183
- is_featured: boolean;
184
+ supplier: string | null;
185
+ storage_location: string | null;
184
186
  created_at: Date;
185
- updated_at: Date;
187
+ updated_a: Date;
186
188
  product: ProductAggregateLite | null;
187
189
  product_variant: ProductVariantAggregateLite | null;
188
190
  vendor: VendorLite;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.178",
3
+ "version": "1.0.179",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",