import type { DocumentWithPositions, DocumentWithPositionsPatch, EntityRef, HasVat } from '.'; import type { OptionalNullablePartial } from '../tools'; export type DemandMetaType = 'demand' | 'retaildemand'; export type AbstractDemandFields = { customerOrder: EntityRef<'customerorder'>; }; export type AbstractDemand = DocumentWithPositions & HasVat; export type AbstractDemandPatch = DocumentWithPositionsPatch & OptionalNullablePartial> & Partial;