import type {CarrierData} from '~/services/dto/carrier-data' import type {TruckData} from '~/services/dto/truck-data' import type {CustomerData} from '~/services/dto/customer-data' import type {AddressData} from "~/services/dto/address-data"; export interface ShipmentTypeData { id: number label: string code: string } export type ShipmentData = { id: number identificationNumber?: string | null licensePlate: string | null shipmentDate: string currentStep: number isValid: boolean address?: AddressData | null carrier?: CarrierData | null truck?: TruckData | null customer?: CustomerData | null shipmentType?: ShipmentTypeData | null nbBovinSend?: number | null weights?: WeightShipmentEntryData[] | null } export interface WeightShipmentEntryData { id?: number type: 'gross' | 'tare' dsd: number | null weight: number | null weighedAt: string | null } export type ShipmentFormData = { userId: string, shipmentDate: string, customerId: string, addressId: string, truckId: string, carrierId: string, driverId: string, vehicleId: string, licensePlate: string, } export type ShipmentPayload = { licensePlate?: string | null shipmentDate?: string currentStep?: number isValid?: boolean carrier?: string | null truck?: string | null customer?: string | null address?: string | null user?: string | null driver?: string | null shipmentType?: string | null nbBovinSend?: number | null }