import { array , lazy , object , optional , Schema } from '../schema' ; import { Error , errorSchema } from './error' ; import { InventoryPhysicalCount , inventoryPhysicalCountSchema , } from './inventoryPhysicalCount' ; export interface RetrieveInventoryPhysicalCountResponse { /** Any errors that occurred during the request. */ errors ? : Error [ ] ; /**
     * Represents the quantity of an item variation that is physically present
     * at a specific location, verified by a seller or a seller's employee. For example,
     * a physical count might come from an employee counting the item variations on
     * hand or from syncing with an external system.
     */ count ? : InventoryPhysicalCount ; } export const retrieveInventoryPhysicalCountResponseSchema = object ( { errors : [ 'errors' , optional ( array ( lazy ( ( ) => errorSchema ) ) ) ] , count : [ 'count' , optional ( lazy ( ( ) => inventoryPhysicalCountSchema ) ) ] , } ) ;