/** * Auto-generated file. Do not change. */ import { Type } from './Type'; import { ApiObjectRef } from '../types/ApiObjectRef'; import { Option } from 'fp-ts/lib/Option'; import { ResolvableObject } from '../types/Link'; import { TypedApiObject } from '../types/TypedApiObject'; export declare type BookingLineItem = { /** * Type of the object */ readonly _object: Type.BookingLineItem; /** * Unique identifier for the booking line item * * JSON-schema: integer * @example 1234 */ readonly id?: number; readonly booking?: ApiObjectRef; readonly purchase_order_line_item?: ApiObjectRef; /** * Number of units of purchase_order_line_item booked on booking * * JSON-schema: integer */ readonly units?: number; }; export declare type LiftedBookingLineItem = TypedApiObject & Omit & { readonly booking: Option; readonly purchase_order_line_item: Option; }; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftBookingLineItem: (original: BookingLineItem) => LiftedBookingLineItem;