import type * as Square from "../index"; /** * Represents a single physical count, inventory, adjustment, or transfer * that is part of the history of inventory changes for a particular * [CatalogObject](entity:CatalogObject) instance. */ export interface InventoryChange { /** * Indicates how the inventory change is applied. See * [InventoryChangeType](entity:InventoryChangeType) for all possible values. * See [InventoryChangeType](#type-inventorychangetype) for possible values */ type?: Square.InventoryChangeType; /** * Contains details about the physical count when `type` is * `PHYSICAL_COUNT`, and is unset for all other change types. */ physicalCount?: Square.InventoryPhysicalCount; /** * Contains details about the inventory adjustment when `type` is * `ADJUSTMENT`, and is unset for all other change types. */ adjustment?: Square.InventoryAdjustment; /** The [CatalogMeasurementUnit](entity:CatalogMeasurementUnit) object representing the catalog measurement unit associated with the inventory change. */ measurementUnit?: Square.CatalogMeasurementUnit; /** The ID of the [CatalogMeasurementUnit](entity:CatalogMeasurementUnit) object representing the catalog measurement unit associated with the inventory change. */ measurementUnitId?: string; }